package com.sg.service.biz.bff.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.biz.bff.req.*;
import com.sg.dto.biz.bff.res.*;
import com.sg.service.biz.bff.VirtualOrgService;
import com.wicket.okrapp.integration.*;
import com.wicket.okrapp.integration.dto.*;
import com.sg.common.exception.Assert;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrcomponent.integration.TemplateEngineService;
import com.wicket.okrframework.integration.*;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class VirtualOrgServiceImpl implements VirtualOrgService {

    @Resource
    private RedisUtil redisUtil;
    @Resource
    com.sg.service.biz.framework.InductionRecordService fwBaseInductionRecordClient;
    @Resource
    com.sg.service.biz.app.VirtualOrgService fwAppVirtualOrgClient;
    @Resource
    com.sg.service.biz.framework.OrgService fwBaseOrgClient;
    @Resource
    com.sg.service.biz.framework.NullService fwBaseNullClient;
    @Resource
    com.sg.service.biz.framework.UserService fwBaseUserClient;
    @Resource
    com.sg.service.biz.app.TargetCycleService fwAppTargetCycleClient;

    @Resource
    com.sg.service.biz.app.IndexSystemService fwAppIndexSystemClient;
    @Resource
    com.sg.service.biz.component.TemplateEngineService fwCompTemplateEngineClient;

    @Resource
    com.sg.service.biz.app.InterfaceModeService fwAppInterfaceModeClient;
    @Resource
    com.sg.service.biz.app.ExecuteProgressService fwAppExecuteProgressClient;
    @Resource
    com.sg.service.biz.app.WorkTasksService fwAppWorkTasksClient;
    @Resource
    com.sg.service.biz.framework.BatchService fwBaseBatchClient;
    @Resource
    com.sg.service.biz.app.MessageService fwAppMessageClient;

    /**
     * B3-6查工作组成员详情[2937]
     * gen by moon at 12/29/2023, 7:25:01 PM
     */
    @Trace(operationName = "B3-6查工作组成员详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkGroupDetailRespDto queryWorkGroupDetail(BffQueryWorkGroupDetailReqDto reqDto) {


        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto_1 = null;
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto_1 = null;
//步骤0: D3-6查虚拟组织成员详情 - queryVirtualOrgMemberDetail
        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto = null;
        QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto = new QueryVirtualOrgMemberDetailReqDto();
        if (reqDto != null) {
            queryVirtualOrgMemberDetailReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:94549_1
        }

        /*D3-6查虚拟组织成员详情[2632]   */
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getVirtualOrgMemberId(), "B3-6查工作组成员详情-D3-6查虚拟组织成员详情-虚拟组织成员ID不能为空", false);
        queryVirtualOrgMemberDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryVirtualOrgMemberDetailRespDto_1 = queryVirtualOrgMemberDetailRespDto;

//步骤1: D1-3查询就职记录详情(公共)(边界) - queryInductionRecordDetailComBorder
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto = null;
        if (queryVirtualOrgMemberDetailRespDto != null) {
            QueryInductionRecordDetailComBorderReqDto queryInductionRecordDetailComBorderReqDto = new QueryInductionRecordDetailComBorderReqDto();
            queryInductionRecordDetailComBorderReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:94590_1
            queryInductionRecordDetailComBorderReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:94601_1
            if (queryVirtualOrgMemberDetailRespDto != null) {
                queryInductionRecordDetailComBorderReqDto.setInductionRecordId(queryVirtualOrgMemberDetailRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:94602_1
            }

            /*D1-3查询就职记录详情(公共)(边界)[1340]   */
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getInductionRecordId(), "B3-6查工作组成员详情-D1-3查询就职记录详情(公共)(边界)-就职记录ID不能为空", false);
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getSubjectLifeCycle(), "B3-6查工作组成员详情-D1-3查询就职记录详情(公共)(边界)-主体生命周期不能为空", false);
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getSpaceId(), "B3-6查工作组成员详情-D1-3查询就职记录详情(公共)(边界)-创建于空间ID不能为空", false);
            queryInductionRecordDetailComBorderRespDto = fwBaseInductionRecordClient.queryInductionRecordDetailComBorder(queryInductionRecordDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordDetailComBorderRespDto_1 = queryInductionRecordDetailComBorderRespDto;
        }

        BffQueryWorkGroupDetailRespDto retData = new BffQueryWorkGroupDetailRespDto();
        if (queryVirtualOrgMemberDetailRespDto_1 != null) {
            retData.setVirtualOrgMemberId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:94610_1
            retData.setVirtualOrgInductionRecordId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:94611_1
            retData.setUserId(queryVirtualOrgMemberDetailRespDto_1.getUserId());//SimpleFieldAssign//sourceId:94612_1
            retData.setFirstLetter(queryVirtualOrgMemberDetailRespDto_1.getFirstLetter());//SimpleFieldAssign//sourceId:94613_1
            retData.setVirtualOrganizationPosition(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:94614_1
            retData.setVirtualOrganizationPositionDesc(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrganizationPositionDesc());//SimpleFieldAssign//sourceId:94616_1
            retData.setInductionStartTime(queryVirtualOrgMemberDetailRespDto_1.getInductionStartTime());//SimpleFieldAssign//sourceId:94618_1
            retData.setInductionEndTime(queryVirtualOrgMemberDetailRespDto_1.getInductionEndTime());//SimpleFieldAssign//sourceId:94620_1
            retData.setIsAdmin(queryVirtualOrgMemberDetailRespDto_1.getIsAdmin());//SimpleFieldAssign//sourceId:94621_1
            retData.setIsPersonCharge(queryVirtualOrgMemberDetailRespDto_1.getIsPersonCharge());//SimpleFieldAssign//sourceId:94622_1
        }
        if (queryInductionRecordDetailComBorderRespDto_1 != null) {
            retData.setUserFace(queryInductionRecordDetailComBorderRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:94615_1
            retData.setIdCardName(queryInductionRecordDetailComBorderRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:94617_1
            retData.setNickName(queryInductionRecordDetailComBorderRespDto_1.getNickName());//SimpleFieldAssign//sourceId:94619_1
            retData.setRoleMemberCode(queryInductionRecordDetailComBorderRespDto_1.getRoleMemberCode());//SimpleFieldAssign//sourceId:314721_1
            retData.setPositionIdName(queryInductionRecordDetailComBorderRespDto_1.getPositionIdName());//SimpleFieldAssign//sourceId:94623_1
        }


        return retData;
    }

    /**
     * B3-6查工作组成员列表[2929]
     * gen by moon at 10/29/2022, 6:30:53 PM
     */
    @Trace(operationName = "B3-6查工作组成员列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkGroupListRespDto queryWorkGroupList(BffQueryWorkGroupListReqDto reqDto) {


        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-6查询当前及历史虚拟组织成员列表 - queryCurrentAndHisVirtualOrgMemberList
        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto = null;
        QueryCurrentAndHisVirtualOrgMemberListReqDto queryCurrentAndHisVirtualOrgMemberListReqDto = new QueryCurrentAndHisVirtualOrgMemberListReqDto();
        queryCurrentAndHisVirtualOrgMemberListReqDto.setTableTypeCode("OMS_TARGET");//sourceId:94443_1
        queryCurrentAndHisVirtualOrgMemberListReqDto.setIsDisplay("TRUE");//sourceId:94519_1
        queryCurrentAndHisVirtualOrgMemberListReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:94445_1
        if (reqDto != null) {
            queryCurrentAndHisVirtualOrgMemberListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:94447_1
        }

        /*D3-6查询当前及历史虚拟组织成员列表[2613]   */
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getEntityId(), "B3-6查工作组成员列表-D3-6查询当前及历史虚拟组织成员列表-冗余内容表主键ID不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getTableTypeCode(), "B3-6查工作组成员列表-D3-6查询当前及历史虚拟组织成员列表-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getIsDisplay(), "B3-6查工作组成员列表-D3-6查询当前及历史虚拟组织成员列表-是否外部展示不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getSubjectLifeCycle(), "B3-6查工作组成员列表-D3-6查询当前及历史虚拟组织成员列表-主体生命周期不能为空", false);
        queryCurrentAndHisVirtualOrgMemberListRespDto = fwAppVirtualOrgClient.queryCurrentAndHisVirtualOrgMemberList(queryCurrentAndHisVirtualOrgMemberListReqDto).getData();


        queryCurrentAndHisVirtualOrgMemberListRespDto_1 = queryCurrentAndHisVirtualOrgMemberListRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryCurrentAndHisVirtualOrgMemberListRespDto.getVirtualOrgMemberList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:94540_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryWorkGroupListRespDto retData = new BffQueryWorkGroupListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null && !CollectionUtil.isEmpty(queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList())) {
            for (VirtualOrgMemberDto virtualOrgMemberDto : queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList()) {
                BffWorkGroupDto retElm = new BffWorkGroupDto();
                if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null) {
                    retElm.setVirtualOrgMemberId(virtualOrgMemberDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:62085_2
                    retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:62086_2
                    retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:62087_2
                    retElm.setFirstLetter(virtualOrgMemberDto.getFirstLetter());//SimpleFieldAssign//sourceId:62089_2
                    retElm.setRoleCode(virtualOrgMemberDto.getRoleCode());//SimpleFieldAssign//sourceId:62090_2
                    retElm.setVirtualOrganizationPosition(virtualOrgMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:62088_2
                    retElm.setIsAdmin(virtualOrgMemberDto.getIsAdmin());//SimpleFieldAssign//sourceId:62091_2
                    retElm.setIsPersonCharge(virtualOrgMemberDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:62092_2
                }
                retData.getWorkGroupList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(virtualOrgMemberDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:62095_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:62093_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:62094_2
                            }
                        }
                    }
                }

            }
        }//sourceId:115611_1


        return retData;
    }

    /**
     * B3-6设置高中基层指标责任人(管理)[2605]
     * gen by moon at 7/14/2023, 12:28:28 AM
     */
    @Trace(operationName = "B3-6设置高中基层指标责任人(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetPrimaryTargetObjectIvenitiatorRespDto setPrimaryTargetObjectIvenitiator(BffSetPrimaryTargetObjectIvenitiatorReqDto reqDto) {


        ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto_1 = null;
        SetTargetObjectIvenitiatorComRespDto setTargetObjectIvenitiatorComRespDto_1 = null;
//virtualUsage D3执行进度运行判断(公共)  47536
        ImplementExecuteProgressOperationJudgeComRespDto implementExecuteProgressOperationJudgeComRespDto = null;
        ImplementExecuteProgressOperationJudgeComReqDto implementExecuteProgressOperationJudgeComReqDto = new ImplementExecuteProgressOperationJudgeComReqDto();
        implementExecuteProgressOperationJudgeComReqDto.setUseTypeCode("USE_SET_OBJTIVE_PRINCIPAL");//CUSTOM_CONVENTION//sourceId:1086158_1_47536
        if (reqDto != null) {
            implementExecuteProgressOperationJudgeComReqDto.setObjectId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:1086157_1_47536
            implementExecuteProgressOperationJudgeComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1086159_1_47536
        }

        /*D3执行进度运行判断(公共)[7243]   */
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getObjectId(), "B3-6设置高中基层指标责任人(管理)-D3执行进度运行判断(公共)-归属对象内容ID不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getUseTypeCode(), "B3-6设置高中基层指标责任人(管理)-D3执行进度运行判断(公共)-用途类型编码不能为空", false);
        Assert.isNull(implementExecuteProgressOperationJudgeComReqDto.getThemeContentId(), "B3-6设置高中基层指标责任人(管理)-D3执行进度运行判断(公共)-主题内容ID不能为空", false);
        implementExecuteProgressOperationJudgeComRespDto = fwAppExecuteProgressClient.implementExecuteProgressOperationJudgeCom(implementExecuteProgressOperationJudgeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementExecuteProgressOperationJudgeComRespDto_1 = implementExecuteProgressOperationJudgeComRespDto;
        if ((reqDto != null && reqDto.getNewPrincipalInductionRecordId() != null && implementExecuteProgressOperationJudgeComRespDto != null && implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null)) {
            //if((B3-6设置高中基层指标责任人(管理).新负责人就职记录ID 值不等于空  and D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 ))  46609

            SetTargetObjectIvenitiatorComRespDto setTargetObjectIvenitiatorComRespDto = null;
            SetTargetObjectIvenitiatorComReqDto setTargetObjectIvenitiatorComReqDto = new SetTargetObjectIvenitiatorComReqDto();
            setTargetObjectIvenitiatorComReqDto.setUseTypeCode("USE_SET_OBJTIVE_PRINCIPAL");//CUSTOM_CONVENTION//sourceId:1078815_1_47456
            if (reqDto != null) {
                setTargetObjectIvenitiatorComReqDto.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:741987_1_47456
                setTargetObjectIvenitiatorComReqDto.setDirectorIdCardName(reqDto.getDirectorIdCardName());//SimpleFieldAssign//sourceId:237636_1_47456
                setTargetObjectIvenitiatorComReqDto.setDirectorVirtualOrgMemberId(reqDto.getDirectorVirtualOrgMemberId());//SimpleFieldAssign//sourceId:237637_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewDirectorIdCardName(reqDto.getNewDirectorIdCardName());//SimpleFieldAssign//sourceId:237638_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewDirectorInductionRecordId(reqDto.getNewDirectorInductionRecordId());//SimpleFieldAssign//sourceId:237639_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewDirectorOriginalRoleMemberId(reqDto.getNewDirectorOriginalRoleMemberId());//SimpleFieldAssign//sourceId:237640_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewDirectorUserId(reqDto.getNewDirectorUserId());//SimpleFieldAssign//sourceId:237641_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewDirectorFirstLetter(reqDto.getNewDirectorFirstLetter());//SimpleFieldAssign//sourceId:237642_1_47456
                setTargetObjectIvenitiatorComReqDto.setPrincipalIdCardName(reqDto.getPrincipalIdCardName());//SimpleFieldAssign//sourceId:237643_1_47456
                setTargetObjectIvenitiatorComReqDto.setPrincipalVirtualOrgMemberId(reqDto.getPrincipalVirtualOrgMemberId());//SimpleFieldAssign//sourceId:237644_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewPrincipalIdCardName(reqDto.getNewPrincipalIdCardName());//SimpleFieldAssign//sourceId:237645_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewPrincipalInductionRecordId(reqDto.getNewPrincipalInductionRecordId());//SimpleFieldAssign//sourceId:237646_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewPrincipalOriginalRoleMemberId(reqDto.getNewPrincipalOriginalRoleMemberId());//SimpleFieldAssign//sourceId:237647_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewPrincipalUserId(reqDto.getNewPrincipalUserId());//SimpleFieldAssign//sourceId:237648_1_47456
                setTargetObjectIvenitiatorComReqDto.setNewPrincipalFirstLetter(reqDto.getNewPrincipalFirstLetter());//SimpleFieldAssign//sourceId:237649_1_47456
                setTargetObjectIvenitiatorComReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:638556_1_47456
                setTargetObjectIvenitiatorComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:368032_1_47456
                setTargetObjectIvenitiatorComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:638557_1_47456
                setTargetObjectIvenitiatorComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:638558_1_47456
                setTargetObjectIvenitiatorComReqDto.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:638559_1_47456
            }

            /*D3-6设置指标责任人[3479]   */
            Assert.isNull(setTargetObjectIvenitiatorComReqDto.getObjectiveId(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-指标ID不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto.getBatchOperateScene(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-高/中/基层操作场景不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto.getTargetId(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-目标ID不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto.getEvaluationTemplateId(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-冗余评价模板ID不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto.getBatchCode(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-批次标识不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto.getBatchCurrentStatus(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-批次现状不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto.getUseTypeCode(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-用途类型编码不能为空", false);
            setTargetObjectIvenitiatorComRespDto = fwAppVirtualOrgClient.setTargetObjectIvenitiatorCom(setTargetObjectIvenitiatorComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            setTargetObjectIvenitiatorComRespDto_1 = setTargetObjectIvenitiatorComRespDto;
        } else if ((reqDto != null && reqDto.getNewPrincipalInductionRecordId() == null && implementExecuteProgressOperationJudgeComRespDto != null && implementExecuteProgressOperationJudgeComRespDto.getCustomField() == null)) {
            //elseif((B3-6设置高中基层指标责任人(管理).新负责人就职记录ID 值等于空  and D3执行进度运行判断(公共).操作过于频繁，请稍后再试文案故事 值等于空 ))  46617

            SetTargetObjectIvenitiatorComRespDto setTargetObjectIvenitiatorComRespDto_2 = null;
            SetTargetObjectIvenitiatorComReqDto setTargetObjectIvenitiatorComReqDto_1 = new SetTargetObjectIvenitiatorComReqDto();
            setTargetObjectIvenitiatorComReqDto_1.setUseTypeCode("USE_SET_OBJTIVE_PRINCIPAL");//CUSTOM_CONVENTION//sourceId:1078815_1_46618
            if (reqDto != null) {
                setTargetObjectIvenitiatorComReqDto_1.setObjectiveId(reqDto.getObjectiveId());//SimpleFieldAssign//sourceId:741987_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setDirectorIdCardName(reqDto.getDirectorIdCardName());//SimpleFieldAssign//sourceId:237636_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setDirectorVirtualOrgMemberId(reqDto.getDirectorVirtualOrgMemberId());//SimpleFieldAssign//sourceId:237637_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setNewDirectorIdCardName(reqDto.getNewDirectorIdCardName());//SimpleFieldAssign//sourceId:237638_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setNewDirectorInductionRecordId(reqDto.getNewDirectorInductionRecordId());//SimpleFieldAssign//sourceId:237639_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setNewDirectorOriginalRoleMemberId(reqDto.getNewDirectorOriginalRoleMemberId());//SimpleFieldAssign//sourceId:237640_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setNewDirectorUserId(reqDto.getNewDirectorUserId());//SimpleFieldAssign//sourceId:237641_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setNewDirectorFirstLetter(reqDto.getNewDirectorFirstLetter());//SimpleFieldAssign//sourceId:237642_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:638556_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:368032_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:638557_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:638558_1_46618
                setTargetObjectIvenitiatorComReqDto_1.setBatchCurrentStatus(reqDto.getBatchCurrentStatus());//SimpleFieldAssign//sourceId:638559_1_46618
            }

            /*D3-6设置指标责任人[3479]   */
            Assert.isNull(setTargetObjectIvenitiatorComReqDto_1.getObjectiveId(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-指标ID不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto_1.getBatchOperateScene(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-高/中/基层操作场景不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto_1.getTargetId(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-目标ID不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto_1.getEvaluationTemplateId(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-冗余评价模板ID不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto_1.getBatchCode(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-批次标识不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto_1.getBatchCurrentStatus(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-批次现状不能为空", false);
            Assert.isNull(setTargetObjectIvenitiatorComReqDto_1.getUseTypeCode(), "B3-6设置高中基层指标责任人(管理)-D3-6设置指标责任人-用途类型编码不能为空", false);
            setTargetObjectIvenitiatorComRespDto_2 = fwAppVirtualOrgClient.setTargetObjectIvenitiatorCom(setTargetObjectIvenitiatorComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            setTargetObjectIvenitiatorComRespDto_1 = setTargetObjectIvenitiatorComRespDto_2;
        }
        BffSetPrimaryTargetObjectIvenitiatorRespDto retData = new BffSetPrimaryTargetObjectIvenitiatorRespDto();
        if (setTargetObjectIvenitiatorComRespDto_1 != null) {
            retData.setVirtualOrgMemberId(setTargetObjectIvenitiatorComRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:163511_1
        }
        if (implementExecuteProgressOperationJudgeComRespDto_1 != null) {
            retData.setCustomField(implementExecuteProgressOperationJudgeComRespDto_1.getCustomField());//SimpleFieldAssign//sourceId:1086161_1
        }


        return retData;
    }

    /**
     * B3-3设置目标分类责任人(管理)[3253]
     * gen by moon at 4/16/2023, 1:14:22 PM
     */
    @Trace(operationName = "B3-3设置目标分类责任人(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetTargetCatInitiatorRespDto setTargetCatInitiator(BffSetTargetCatInitiatorReqDto reqDto) {


        SetTargetCatInitiatorRespDto setTargetCatInitiatorRespDto_1 = null;
//步骤0: D3-6设置目标分类责任人 - setTargetCatInitiator
        SetTargetCatInitiatorRespDto setTargetCatInitiatorRespDto = null;
        SetTargetCatInitiatorReqDto setTargetCatInitiatorReqDto = new SetTargetCatInitiatorReqDto();
        if (reqDto != null) {
            setTargetCatInitiatorReqDto.setDirectorIdCardName(reqDto.getDirectorIdCardName());//SimpleFieldAssign//sourceId:240456_1
            setTargetCatInitiatorReqDto.setDirectorVirtualOrgMemberId(reqDto.getDirectorVirtualOrgMemberId());//SimpleFieldAssign//sourceId:240457_1
            setTargetCatInitiatorReqDto.setNewDirectorIdCardName(reqDto.getNewDirectorIdCardName());//SimpleFieldAssign//sourceId:240458_1
            setTargetCatInitiatorReqDto.setNewDirectorInductionRecordId(reqDto.getNewDirectorInductionRecordId());//SimpleFieldAssign//sourceId:240459_1
            setTargetCatInitiatorReqDto.setNewDirectorOriginalRoleMemberId(reqDto.getNewDirectorOriginalRoleMemberId());//SimpleFieldAssign//sourceId:240460_1
            setTargetCatInitiatorReqDto.setNewDirectorUserId(reqDto.getNewDirectorUserId());//SimpleFieldAssign//sourceId:240461_1
            setTargetCatInitiatorReqDto.setNewDirectorFirstLetter(reqDto.getNewDirectorFirstLetter());//SimpleFieldAssign//sourceId:240462_1
            setTargetCatInitiatorReqDto.setPrincipalIdCardName(reqDto.getPrincipalIdCardName());//SimpleFieldAssign//sourceId:240463_1
            setTargetCatInitiatorReqDto.setPrincipalVirtualOrgMemberId(reqDto.getPrincipalVirtualOrgMemberId());//SimpleFieldAssign//sourceId:240464_1
            setTargetCatInitiatorReqDto.setNewPrincipalIdCardName(reqDto.getNewPrincipalIdCardName());//SimpleFieldAssign//sourceId:240465_1
            setTargetCatInitiatorReqDto.setNewPrincipalInductionRecordId(reqDto.getNewPrincipalInductionRecordId());//SimpleFieldAssign//sourceId:240466_1
            setTargetCatInitiatorReqDto.setNewPrincipalOriginalRoleMemberId(reqDto.getNewPrincipalOriginalRoleMemberId());//SimpleFieldAssign//sourceId:240467_1
            setTargetCatInitiatorReqDto.setNewPrincipalUserId(reqDto.getNewPrincipalUserId());//SimpleFieldAssign//sourceId:240468_1
            setTargetCatInitiatorReqDto.setNewPrincipalFirstLetter(reqDto.getNewPrincipalFirstLetter());//SimpleFieldAssign//sourceId:240469_1
            setTargetCatInitiatorReqDto.setTargetCategoryId(reqDto.getTargetCategoryId());//SimpleFieldAssign//sourceId:741953_1
            setTargetCatInitiatorReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:240471_1
            setTargetCatInitiatorReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:240472_1
        }

        /*D3-6设置目标分类责任人[3252]   */
        Assert.isNull(setTargetCatInitiatorReqDto.getTargetCategoryId(), "B3-3设置目标分类责任人(管理)-D3-6设置目标分类责任人-目标分类ID不能为空", false);
        Assert.isNull(setTargetCatInitiatorReqDto.getTargetId(), "B3-3设置目标分类责任人(管理)-D3-6设置目标分类责任人-冗余目标ID不能为空", false);
        Assert.isNull(setTargetCatInitiatorReqDto.getEvaluationTemplateId(), "B3-3设置目标分类责任人(管理)-D3-6设置目标分类责任人-冗余评价模板ID不能为空", false);
        setTargetCatInitiatorRespDto = fwAppVirtualOrgClient.setTargetCatInitiator(setTargetCatInitiatorReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        setTargetCatInitiatorRespDto_1 = setTargetCatInitiatorRespDto;

        BffSetTargetCatInitiatorRespDto retData = new BffSetTargetCatInitiatorRespDto();
        if (setTargetCatInitiatorRespDto_1 != null) {
            retData.setPrincipalVirtualOrgMemberId(setTargetCatInitiatorRespDto_1.getPrincipalVirtualOrgMemberId());//SimpleFieldAssign//sourceId:240476_1
            retData.setDirectorVirtualOrgMemberId(setTargetCatInitiatorRespDto_1.getDirectorVirtualOrgMemberId());//SimpleFieldAssign//sourceId:240477_1
        }


        return retData;
    }

    /**
     * B3-6查询管理模式工作组成员列表(管理)[2585]
     * gen by moon at 11/3/2022, 12:02:06 PM
     */
    @Trace(operationName = "B3-6查询管理模式工作组成员列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkGroupMgtListRespDto queryWorkGroupMgtList(BffQueryWorkGroupMgtListReqDto reqDto) {


        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-6查询当前及历史虚拟组织成员列表 - queryCurrentAndHisVirtualOrgMemberList
        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto = null;
        QueryCurrentAndHisVirtualOrgMemberListReqDto queryCurrentAndHisVirtualOrgMemberListReqDto = new QueryCurrentAndHisVirtualOrgMemberListReqDto();
        queryCurrentAndHisVirtualOrgMemberListReqDto.setTableTypeCode("OMS_TARGET");//sourceId:93736_1
        queryCurrentAndHisVirtualOrgMemberListReqDto.setIsArchive("FALSE");//sourceId:93737_1
        if (reqDto != null) {
            queryCurrentAndHisVirtualOrgMemberListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:93740_1
        }

        /*D3-6查询当前及历史虚拟组织成员列表[2613]   */
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getEntityId(), "B3-6查询管理模式工作组成员列表(管理)-D3-6查询当前及历史虚拟组织成员列表-冗余内容表主键ID不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getTableTypeCode(), "B3-6查询管理模式工作组成员列表(管理)-D3-6查询当前及历史虚拟组织成员列表-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getIsArchive(), "B3-6查询管理模式工作组成员列表(管理)-D3-6查询当前及历史虚拟组织成员列表-是否存档不能为空", false);
        queryCurrentAndHisVirtualOrgMemberListRespDto = fwAppVirtualOrgClient.queryCurrentAndHisVirtualOrgMemberList(queryCurrentAndHisVirtualOrgMemberListReqDto).getData();


        queryCurrentAndHisVirtualOrgMemberListRespDto_1 = queryCurrentAndHisVirtualOrgMemberListRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryCurrentAndHisVirtualOrgMemberListRespDto.getVirtualOrgMemberList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:93747_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryWorkGroupMgtListRespDto retData = new BffQueryWorkGroupMgtListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null && !CollectionUtil.isEmpty(queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList())) {
            for (VirtualOrgMemberDto virtualOrgMemberDto : queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList()) {
                BffWorkGroupMgtDto retElm = new BffWorkGroupMgtDto();
                if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null) {
                    retElm.setVirtualOrgMemberId(virtualOrgMemberDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:62096_2
                    retElm.setRoleCode(virtualOrgMemberDto.getRoleCode());//SimpleFieldAssign//sourceId:62103_2
                    retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:62097_2
                    retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:62098_2
                    retElm.setFirstLetter(virtualOrgMemberDto.getFirstLetter());//SimpleFieldAssign//sourceId:62099_2
                    retElm.setInductionStartTime(virtualOrgMemberDto.getInductionStartTime());//SimpleFieldAssign//sourceId:62101_2
                    retElm.setInductionEndTime(virtualOrgMemberDto.getInductionEndTime());//SimpleFieldAssign//sourceId:62102_2
                    retElm.setVirtualOrganizationPosition(virtualOrgMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:62100_2
                    retElm.setIsPersonCharge(virtualOrgMemberDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:81620_2
                    retElm.setIsAdmin(virtualOrgMemberDto.getIsAdmin());//SimpleFieldAssign//sourceId:62104_2
                    retElm.setIsDisplay(virtualOrgMemberDto.getIsDisplay());//SimpleFieldAssign//sourceId:62105_2
                    retElm.setUpdateStatus(virtualOrgMemberDto.getUpdateStatus());//SimpleFieldAssign//sourceId:81648_2
                    retElm.setOrderNumber(virtualOrgMemberDto.getOrderNumber());//SimpleFieldAssign//sourceId:62106_2
                }
                retData.getWorkGroupMgtList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(virtualOrgMemberDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setRoleMemberCode(perOrgInductionRecordDto.getRoleMemberCode());//SimpleFieldAssign//sourceId:62111_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:62109_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:62107_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:62108_2
                                retElm.setPositionIdName(perOrgInductionRecordDto.getPositionIdName());//SimpleFieldAssign//sourceId:62110_2
                            }
                        }
                    }
                }

            }
        }//sourceId:115615_1


        return retData;
    }

    /**
     * B3-6查规划工作组成员列表(边界)[2629]
     * gen by moon at 10/7/2022, 2:13:44 AM
     */
    @Trace(operationName = "B3-6查规划工作组成员列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryPlanWorkGroupMemberListBorderRespDto queryPlanWorkGroupMemberListBorder(BffQueryPlanWorkGroupMemberListBorderReqDto reqDto) {


        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-6查询当前及历史虚拟组织成员列表 - queryCurrentAndHisVirtualOrgMemberList
        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto = null;
        QueryCurrentAndHisVirtualOrgMemberListReqDto queryCurrentAndHisVirtualOrgMemberListReqDto = new QueryCurrentAndHisVirtualOrgMemberListReqDto();
        queryCurrentAndHisVirtualOrgMemberListReqDto.setTableTypeCode("OMS_TARGET");//sourceId:217506_1
        queryCurrentAndHisVirtualOrgMemberListReqDto.setIsDisplay("TRUE");//sourceId:217512_1
        queryCurrentAndHisVirtualOrgMemberListReqDto.setIsArchive("FALSE");//sourceId:217507_1
        if (reqDto != null) {
            queryCurrentAndHisVirtualOrgMemberListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:217510_1
        }

        /*D3-6查询当前及历史虚拟组织成员列表[2613]   */
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getEntityId(), "B3-6查规划工作组成员列表(边界)-D3-6查询当前及历史虚拟组织成员列表-冗余内容表主键ID不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getTableTypeCode(), "B3-6查规划工作组成员列表(边界)-D3-6查询当前及历史虚拟组织成员列表-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getIsDisplay(), "B3-6查规划工作组成员列表(边界)-D3-6查询当前及历史虚拟组织成员列表-是否外部展示不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getIsArchive(), "B3-6查规划工作组成员列表(边界)-D3-6查询当前及历史虚拟组织成员列表-是否存档不能为空", false);
        queryCurrentAndHisVirtualOrgMemberListRespDto = fwAppVirtualOrgClient.queryCurrentAndHisVirtualOrgMemberList(queryCurrentAndHisVirtualOrgMemberListReqDto).getData();


        queryCurrentAndHisVirtualOrgMemberListRespDto_1 = queryCurrentAndHisVirtualOrgMemberListRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryCurrentAndHisVirtualOrgMemberListRespDto.getVirtualOrgMemberList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:217515_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryPlanWorkGroupMemberListBorderRespDto retData = new BffQueryPlanWorkGroupMemberListBorderRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null && !CollectionUtil.isEmpty(queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList())) {
            for (VirtualOrgMemberDto virtualOrgMemberDto : queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList()) {
                BffPlanWorkGroupMemberDto retElm = new BffPlanWorkGroupMemberDto();
                if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null) {
                    retElm.setVirtualOrgMemberId(virtualOrgMemberDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:81607_2
                    retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:81608_2
                    retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:81609_2
                    retElm.setFirstLetter(virtualOrgMemberDto.getFirstLetter());//SimpleFieldAssign//sourceId:81611_2
                    retElm.setVirtualOrganizationPosition(virtualOrgMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:81610_2
                    retElm.setRoleCode(virtualOrgMemberDto.getRoleCode());//SimpleFieldAssign//sourceId:81612_2
                    retElm.setIsPersonCharge(virtualOrgMemberDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:81613_2
                    retElm.setIsAdmin(virtualOrgMemberDto.getIsAdmin());//SimpleFieldAssign//sourceId:81614_2
                    retElm.setOrderNumber(virtualOrgMemberDto.getOrderNumber());//SimpleFieldAssign//sourceId:81615_2
                }
                retData.getPlanWorkGroupMemberList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(virtualOrgMemberDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setRoleMemberCode(perOrgInductionRecordDto.getRoleMemberCode());//SimpleFieldAssign//sourceId:81619_2
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:81618_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:81617_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:81616_2
                            }
                        }
                    }
                }

            }
        }//sourceId:217521_1


        return retData;
    }

    /**
     * B3-6查询管理模式工作组成员详情(管理)[2925]
     * gen by moon at 12/29/2023, 7:24:59 PM
     */
    @Trace(operationName = "B3-6查询管理模式工作组成员详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkGroupMgtDetailRespDto queryWorkGroupMgtDetail(BffQueryWorkGroupMgtDetailReqDto reqDto) {


        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto_1 = null;
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto_1 = null;
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 = null;
//步骤0: D3-6查虚拟组织成员详情 - queryVirtualOrgMemberDetail
        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto = null;
        QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto = new QueryVirtualOrgMemberDetailReqDto();
        if (reqDto != null) {
            queryVirtualOrgMemberDetailReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:94002_1
        }

        /*D3-6查虚拟组织成员详情[2632]   */
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getVirtualOrgMemberId(), "B3-6查询管理模式工作组成员详情(管理)-D3-6查虚拟组织成员详情-虚拟组织成员ID不能为空", false);
        queryVirtualOrgMemberDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryVirtualOrgMemberDetailRespDto_1 = queryVirtualOrgMemberDetailRespDto;

//步骤1: D1-3查询就职记录详情(公共)(边界) - queryInductionRecordDetailComBorder
        QueryInductionRecordDetailComBorderRespDto queryInductionRecordDetailComBorderRespDto = null;
        if (queryVirtualOrgMemberDetailRespDto != null) {
            QueryInductionRecordDetailComBorderReqDto queryInductionRecordDetailComBorderReqDto = new QueryInductionRecordDetailComBorderReqDto();
            queryInductionRecordDetailComBorderReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:94005_1
            queryInductionRecordDetailComBorderReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:94016_1
            if (queryVirtualOrgMemberDetailRespDto != null) {
                queryInductionRecordDetailComBorderReqDto.setInductionRecordId(queryVirtualOrgMemberDetailRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:94017_1
            }

            /*D1-3查询就职记录详情(公共)(边界)[1340]   */
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getInductionRecordId(), "B3-6查询管理模式工作组成员详情(管理)-D1-3查询就职记录详情(公共)(边界)-就职记录ID不能为空", false);
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getSubjectLifeCycle(), "B3-6查询管理模式工作组成员详情(管理)-D1-3查询就职记录详情(公共)(边界)-主体生命周期不能为空", false);
            Assert.isNull(queryInductionRecordDetailComBorderReqDto.getSpaceId(), "B3-6查询管理模式工作组成员详情(管理)-D1-3查询就职记录详情(公共)(边界)-创建于空间ID不能为空", false);
            queryInductionRecordDetailComBorderRespDto = fwBaseInductionRecordClient.queryInductionRecordDetailComBorder(queryInductionRecordDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordDetailComBorderRespDto_1 = queryInductionRecordDetailComBorderRespDto;
        }

//步骤2: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
        if (queryInductionRecordDetailComBorderRespDto != null) {
            QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto = new QueryDeptDetailComBorderReqDto();
            if (queryInductionRecordDetailComBorderRespDto != null) {
                queryDeptDetailComBorderReqDto.setDeptId(queryInductionRecordDetailComBorderRespDto.getEntityId());//SimpleFieldAssign//sourceId:94159_1
            }

            /*D1-3查询部门详情(公共)(边界)[2691]   */
            Assert.isNull(queryDeptDetailComBorderReqDto.getDeptId(), "B3-6查询管理模式工作组成员详情(管理)-D1-3查询部门详情(公共)(边界)-部门ID不能为空", false);
            queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
        }

        BffQueryWorkGroupMgtDetailRespDto retData = new BffQueryWorkGroupMgtDetailRespDto();
        if (queryVirtualOrgMemberDetailRespDto_1 != null) {
            retData.setVirtualOrgMemberId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:94143_1
            retData.setVirtualOrgInductionRecordId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:94144_1
            retData.setUserId(queryVirtualOrgMemberDetailRespDto_1.getUserId());//SimpleFieldAssign//sourceId:94145_1
            retData.setVirtualOrganizationPosition(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:94146_1
            retData.setVirtualOrganizationPositionDesc(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrganizationPositionDesc());//SimpleFieldAssign//sourceId:94147_1
            retData.setInductionStartTime(queryVirtualOrgMemberDetailRespDto_1.getInductionStartTime());//SimpleFieldAssign//sourceId:94148_1
            retData.setInductionEndTime(queryVirtualOrgMemberDetailRespDto_1.getInductionEndTime());//SimpleFieldAssign//sourceId:94149_1
            retData.setIsPersonCharge(queryVirtualOrgMemberDetailRespDto_1.getIsPersonCharge());//SimpleFieldAssign//sourceId:94171_1
            retData.setIsDisplay(queryVirtualOrgMemberDetailRespDto_1.getIsDisplay());//SimpleFieldAssign//sourceId:94172_1
            retData.setIsAdmin(queryVirtualOrgMemberDetailRespDto_1.getIsAdmin());//SimpleFieldAssign//sourceId:94170_1
        }
        if (queryInductionRecordDetailComBorderRespDto_1 != null) {
            retData.setEntityId(queryInductionRecordDetailComBorderRespDto_1.getEntityId());//SimpleFieldAssign//sourceId:94215_1
            retData.setUserFace(queryInductionRecordDetailComBorderRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:94212_1
            retData.setIdCardName(queryInductionRecordDetailComBorderRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:94213_1
            retData.setNickName(queryInductionRecordDetailComBorderRespDto_1.getNickName());//SimpleFieldAssign//sourceId:94214_1
            retData.setRoleMemberCode(queryInductionRecordDetailComBorderRespDto_1.getRoleMemberCode());//SimpleFieldAssign//sourceId:94150_1
            retData.setPositionIdName(queryInductionRecordDetailComBorderRespDto_1.getPositionIdName());//SimpleFieldAssign//sourceId:94151_1
        }
        if (queryDeptDetailComBorderRespDto_1 != null) {
            retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:94162_1
        }


        return retData;
    }

    /**
     * B3-6查目标干系人列表(边界)[2945]
     * gen by moon at 11/12/2023, 10:20:56 PM
     */
    @Trace(operationName = "B3-6查目标干系人列表(边界)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryObjectiveStakeholderListBorderRespDto queryObjectiveStakeholderListBorder(BffQueryObjectiveStakeholderListBorderReqDto reqDto) {


        BatchQueryVirtualOrgMemberComBorderRespDto batchQueryVirtualOrgMemberComBorderRespDto_1 = null;
//步骤0: D3-6批量查询虚拟组织成员(公共)(边界) - batchQueryVirtualOrgMemberComBorder
        BatchQueryVirtualOrgMemberComBorderRespDto batchQueryVirtualOrgMemberComBorderRespDto = null;
        BatchQueryVirtualOrgMemberComBorderReqDto batchQueryVirtualOrgMemberComBorderReqDto = new BatchQueryVirtualOrgMemberComBorderReqDto();
        batchQueryVirtualOrgMemberComBorderReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:99389_1
        batchQueryVirtualOrgMemberComBorderReqDto.setIsUpperLowerLevels("TRUE");//sourceId:220968_1
        batchQueryVirtualOrgMemberComBorderReqDto.setEvaluationTemplateType("EVA_TEMP");//sourceId:431189_1
        if (reqDto != null) {
            batchQueryVirtualOrgMemberComBorderReqDto.setVirtualOrgMemberList(reqDto.getObjectiveStakeholderList());//list-field-assign//sourceId:99388_1
            batchQueryVirtualOrgMemberComBorderReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:431190_1
        }

        /*D3-6批量查询虚拟组织成员(公共)(边界)[2944]   */
        Assert.isNull(batchQueryVirtualOrgMemberComBorderReqDto.getIsUpperLowerLevels(), "B3-6查目标干系人列表(边界)-D3-6批量查询虚拟组织成员(公共)(边界)-是否上下级关系不能为空", false);
        Assert.isNull(batchQueryVirtualOrgMemberComBorderReqDto.getEvaluationTemplateType(), "B3-6查目标干系人列表(边界)-D3-6批量查询虚拟组织成员(公共)(边界)-归属对象类型不能为空", false);
        Assert.isNull(batchQueryVirtualOrgMemberComBorderReqDto.getEvaluationTemplateId(), "B3-6查目标干系人列表(边界)-D3-6批量查询虚拟组织成员(公共)(边界)-归属对象ID不能为空", false);
        batchQueryVirtualOrgMemberComBorderRespDto = fwAppVirtualOrgClient.batchQueryVirtualOrgMemberComBorder(batchQueryVirtualOrgMemberComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        batchQueryVirtualOrgMemberComBorderRespDto_1 = batchQueryVirtualOrgMemberComBorderRespDto;

        BffQueryObjectiveStakeholderListBorderRespDto retData = new BffQueryObjectiveStakeholderListBorderRespDto();
        if (batchQueryVirtualOrgMemberComBorderRespDto_1 != null) {
            retData.setObjectiveStakeholderList(batchQueryVirtualOrgMemberComBorderRespDto_1.getVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, BffObjectiveStakeholderDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:99373_1
        }


        return retData;
    }

    /**
     * B3-6查询参与者列表(管理)[2726]
     * gen by moon at 11/3/2022, 11:13:48 PM
     */
    @Trace(operationName = "B3-6查询参与者列表(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryParticipantsListRespDto queryParticipantsList(BffQueryParticipantsListReqDto reqDto) {


        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto_1 = null;
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto_1 = null;
//步骤0: D3-6查询当前及历史虚拟组织成员列表 - queryCurrentAndHisVirtualOrgMemberList
        QueryCurrentAndHisVirtualOrgMemberListRespDto queryCurrentAndHisVirtualOrgMemberListRespDto = null;
        QueryCurrentAndHisVirtualOrgMemberListReqDto queryCurrentAndHisVirtualOrgMemberListReqDto = new QueryCurrentAndHisVirtualOrgMemberListReqDto();
        queryCurrentAndHisVirtualOrgMemberListReqDto.setRoleCode("PARTICIPANTS");//CUSTOM_CONVENTION//sourceId:218084_1
        queryCurrentAndHisVirtualOrgMemberListReqDto.setIsArchive("FALSE");//sourceId:85099_1
        if (reqDto != null) {
            queryCurrentAndHisVirtualOrgMemberListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:85110_1
            queryCurrentAndHisVirtualOrgMemberListReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:85098_1
        }

        /*D3-6查询当前及历史虚拟组织成员列表[2613]   */
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getEntityId(), "B3-6查询参与者列表(管理)-D3-6查询当前及历史虚拟组织成员列表-冗余内容表主键ID不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getTableTypeCode(), "B3-6查询参与者列表(管理)-D3-6查询当前及历史虚拟组织成员列表-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getRoleCode(), "B3-6查询参与者列表(管理)-D3-6查询当前及历史虚拟组织成员列表-角色标识不能为空", false);
        Assert.isNull(queryCurrentAndHisVirtualOrgMemberListReqDto.getIsArchive(), "B3-6查询参与者列表(管理)-D3-6查询当前及历史虚拟组织成员列表-是否存档不能为空", false);
        queryCurrentAndHisVirtualOrgMemberListRespDto = fwAppVirtualOrgClient.queryCurrentAndHisVirtualOrgMemberList(queryCurrentAndHisVirtualOrgMemberListReqDto).getData();


        queryCurrentAndHisVirtualOrgMemberListRespDto_1 = queryCurrentAndHisVirtualOrgMemberListRespDto;

//步骤1: D1-3批量查询就职记录列表（公共） - batchQueryInductionRecordListCom
        BatchQueryInductionRecordListComRespDto batchQueryInductionRecordListComRespDto = null;
        if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
            BatchQueryInductionRecordListComReqDto batchQueryInductionRecordListComReqDto = new BatchQueryInductionRecordListComReqDto();
            if (queryCurrentAndHisVirtualOrgMemberListRespDto != null) {
                batchQueryInductionRecordListComReqDto.setPerOrgInductionRecordList(queryCurrentAndHisVirtualOrgMemberListRespDto.getVirtualOrgMemberList().stream().map(item -> item.getVirtualOrgInductionRecordId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:85102_1
            }

            /*D1-3批量查询就职记录列表（公共）[602]   */

            batchQueryInductionRecordListComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordListCom(batchQueryInductionRecordListComReqDto).getData();


            batchQueryInductionRecordListComRespDto_1 = batchQueryInductionRecordListComRespDto;
        }

        BffQueryParticipantsListRespDto retData = new BffQueryParticipantsListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null && !CollectionUtil.isEmpty(queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList())) {
            for (VirtualOrgMemberDto virtualOrgMemberDto : queryCurrentAndHisVirtualOrgMemberListRespDto_1.getVirtualOrgMemberList()) {
                BffVirtualOrgMemberDto retElm = new BffVirtualOrgMemberDto();
                if (queryCurrentAndHisVirtualOrgMemberListRespDto_1 != null) {
                    retElm.setVirtualOrgMemberId(virtualOrgMemberDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:47574_2
                    retElm.setVirtualOrgInductionRecordId(virtualOrgMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:47575_2
                    retElm.setUserId(virtualOrgMemberDto.getUserId());//SimpleFieldAssign//sourceId:47578_2
                    retElm.setIsAdmin(virtualOrgMemberDto.getIsAdmin());//SimpleFieldAssign//sourceId:114879_2
                    retElm.setUpdateStatus(virtualOrgMemberDto.getUpdateStatus());//SimpleFieldAssign//sourceId:88165_2
                    retElm.setArchivngType(virtualOrgMemberDto.getArchivngType());//SimpleFieldAssign//sourceId:115202_2
                    retElm.setSubjectLifeCycle(virtualOrgMemberDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:115203_2
                }
                retData.getVirtualOrgMemberList().add(retElm);
                if (batchQueryInductionRecordListComRespDto_1 != null) {
                    for (PerOrgInductionRecordDto perOrgInductionRecordDto : batchQueryInductionRecordListComRespDto_1.getPerOrgInductionRecordList()) {
                        if (perOrgInductionRecordDto.getInductionRecordId().equals(virtualOrgMemberDto.getVirtualOrgInductionRecordId())) {
                            if (batchQueryInductionRecordListComRespDto_1 != null) {
                                retElm.setUserFace(perOrgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:47579_2
                                retElm.setIdCardName(perOrgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:47576_2
                                retElm.setNickName(perOrgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:47577_2
                                retElm.setPositionIdName(perOrgInductionRecordDto.getPositionIdName());//SimpleFieldAssign//sourceId:47580_2
                            }
                        }
                    }
                }

            }
        }//sourceId:85106_1


        return retData;
    }

    /**
     * B3-6查询虚拟组织成员列表[4710]
     * gen by moon at 8/2/2023, 4:01:32 PM
     */
    @Trace(operationName = "B3-6查询虚拟组织成员列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryVirtualOrgMemberListRespDto queryVirtualOrgMemberList(BffQueryVirtualOrgMemberListReqDto reqDto) {


        QueryVirtualOrgDetailComRespDto queryVirtualOrgDetailComRespDto_1 = null;
        QueryVirtualOrgMemberListComRespDto queryVirtualOrgMemberListComRespDto_1 = null;
        QueryCanEvaVirtualOrgMemberListComRespDto queryCanEvaVirtualOrgMemberListComRespDto_1 = null;
//步骤0: D3-查询虚拟组织详情(公共) - queryVirtualOrgDetailCom
        QueryVirtualOrgDetailComRespDto queryVirtualOrgDetailComRespDto = null;
        QueryVirtualOrgDetailComReqDto queryVirtualOrgDetailComReqDto = new QueryVirtualOrgDetailComReqDto();
        queryVirtualOrgDetailComReqDto.setIsArchive("FALSE");//sourceId:1100801_1
        if (reqDto != null) {
            queryVirtualOrgDetailComReqDto.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1100797_1
            queryVirtualOrgDetailComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1100799_1
        }

        /*D3-查询虚拟组织详情(公共)[7336]   */
        Assert.isNull(queryVirtualOrgDetailComReqDto.getEntityId(), "B3-6查询虚拟组织成员列表-D3-查询虚拟组织详情(公共)-内容表主键ID不能为空", false);
        Assert.isNull(queryVirtualOrgDetailComReqDto.getEvaluationTemplateId(), "B3-6查询虚拟组织成员列表-D3-查询虚拟组织详情(公共)-归属对象ID不能为空", false);
        Assert.isNull(queryVirtualOrgDetailComReqDto.getIsArchive(), "B3-6查询虚拟组织成员列表-D3-查询虚拟组织详情(公共)-是否存档不能为空", false);
        queryVirtualOrgDetailComRespDto = fwAppVirtualOrgClient.queryVirtualOrgDetailCom(queryVirtualOrgDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryVirtualOrgDetailComRespDto_1 = queryVirtualOrgDetailComRespDto;

//步骤1: D3-6查询提交问题虚拟组织成员列表(公共) - queryVirtualOrgMemberListCom
        QueryVirtualOrgMemberListComRespDto queryVirtualOrgMemberListComRespDto = null;
        QueryVirtualOrgMemberListComReqDto queryVirtualOrgMemberListComReqDto = new QueryVirtualOrgMemberListComReqDto();
        if (reqDto != null) {
            queryVirtualOrgMemberListComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1093093_1
            queryVirtualOrgMemberListComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1093094_1
            queryVirtualOrgMemberListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:511301_1
        }

        /*D3-6查询提交问题虚拟组织成员列表(公共)[3935]   */
        Assert.isNull(queryVirtualOrgMemberListComReqDto.getTargetCycleContentId(), "B3-6查询虚拟组织成员列表-D3-6查询提交问题虚拟组织成员列表(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(queryVirtualOrgMemberListComReqDto.getTargetCycleContentTypeCode(), "B3-6查询虚拟组织成员列表-D3-6查询提交问题虚拟组织成员列表(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(queryVirtualOrgMemberListComReqDto.getEvaluationTemplateId(), "B3-6查询虚拟组织成员列表-D3-6查询提交问题虚拟组织成员列表(公共)-冗余评价模板ID不能为空", false);
        queryVirtualOrgMemberListComRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberListCom(queryVirtualOrgMemberListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryVirtualOrgMemberListComRespDto_1 = queryVirtualOrgMemberListComRespDto;

//步骤2: D3-查询参与评价虚拟组织成员列表(公共) - queryCanEvaVirtualOrgMemberListCom
        QueryCanEvaVirtualOrgMemberListComRespDto queryCanEvaVirtualOrgMemberListComRespDto = null;
        QueryCanEvaVirtualOrgMemberListComReqDto queryCanEvaVirtualOrgMemberListComReqDto = new QueryCanEvaVirtualOrgMemberListComReqDto();
        if (reqDto != null) {
            queryCanEvaVirtualOrgMemberListComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1093087_1
            queryCanEvaVirtualOrgMemberListComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1093088_1
            queryCanEvaVirtualOrgMemberListComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:561361_1
        }

        /*D3-查询参与评价虚拟组织成员列表(公共)[5577]   */
        Assert.isNull(queryCanEvaVirtualOrgMemberListComReqDto.getTargetCycleContentId(), "B3-6查询虚拟组织成员列表-D3-查询参与评价虚拟组织成员列表(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(queryCanEvaVirtualOrgMemberListComReqDto.getTargetCycleContentTypeCode(), "B3-6查询虚拟组织成员列表-D3-查询参与评价虚拟组织成员列表(公共)-关联目标内容类型编码不能为空", false);
        Assert.isNull(queryCanEvaVirtualOrgMemberListComReqDto.getEvaluationTemplateId(), "B3-6查询虚拟组织成员列表-D3-查询参与评价虚拟组织成员列表(公共)-冗余评价模板ID不能为空", false);
        queryCanEvaVirtualOrgMemberListComRespDto = fwAppVirtualOrgClient.queryCanEvaVirtualOrgMemberListCom(queryCanEvaVirtualOrgMemberListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryCanEvaVirtualOrgMemberListComRespDto_1 = queryCanEvaVirtualOrgMemberListComRespDto;

        BffQueryVirtualOrgMemberListRespDto retData = new BffQueryVirtualOrgMemberListRespDto();
        if (queryVirtualOrgDetailComRespDto_1 != null) {
            retData.setVirtualOrgId(queryVirtualOrgDetailComRespDto_1.getVirtualOrgId());//SimpleFieldAssign//sourceId:1100810_1
        }
        if (queryVirtualOrgMemberListComRespDto_1 != null) {
            retData.setCommitQuesVirtualOrgMemberList(queryVirtualOrgMemberListComRespDto_1.getCommitQuesVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, BffCommitQuesVirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:560747_1
        }
        if (queryCanEvaVirtualOrgMemberListComRespDto_1 != null) {
            retData.setCanEvaVirtualOrgMemberList(queryCanEvaVirtualOrgMemberListComRespDto_1.getCanEvaVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, BffCanEvaVirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:561367_1
        }


        return retData;
    }

    /**
     * B3-6想存档基层参与者(管理)[3858]
     * gen by moon at 9/26/2022, 6:15:50 AM
     */
    @Trace(operationName = "B3-6想存档基层参与者(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffToArchiveBasicParticipantsRespDto toArchiveBasicParticipants(BffToArchiveBasicParticipantsReqDto reqDto) {


        //步骤0: D3-6想存档参与者(公共) - toArchiveParticipantsCom
        ToArchiveParticipantsComRespDto toArchiveParticipantsComRespDto = null;
        ToArchiveParticipantsComReqDto toArchiveParticipantsComReqDto = new ToArchiveParticipantsComReqDto();
        toArchiveParticipantsComReqDto.setBatchOperateScene("BASIC");//sourceId:254512_1
        toArchiveParticipantsComReqDto.setTableTypeCode("OMS_TARGET_OBJECTIVE");//sourceId:254518_1
        toArchiveParticipantsComReqDto.setSubjectTypeCode("BASIC_TARGET_DIVISION_LOG_NAV");//sourceId:254520_1
        toArchiveParticipantsComReqDto.setSubjectChangeType("ARCHIVE_PARTICIPANTS");//CUSTOM_CONVENTION//sourceId:254521_1
        if (reqDto != null) {
            toArchiveParticipantsComReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//sourceId:193122_1
            toArchiveParticipantsComReqDto.setTargetId(reqDto.getTargetId());//sourceId:254513_1
            toArchiveParticipantsComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//sourceId:254514_1
            toArchiveParticipantsComReqDto.setDeptId(reqDto.getDeptId());//sourceId:254515_1
//toArchiveParticipantsComReqDto.setDeptOkrTargetId(reqDto.getDeptOkrTargetId());//sourceId:254517_1
            toArchiveParticipantsComReqDto.setEntityId(reqDto.getEntityId());//sourceId:254519_1
        }

        /*D3-6想存档参与者(公共)[3859]   */
        Assert.isNull(toArchiveParticipantsComReqDto.getVirtualOrgMemberId(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-虚拟组织成员ID不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getBatchOperateScene(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-高/中/基层操作场景不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getTargetId(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-冗余目标ID不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getEvaluationTemplateId(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getDeptId(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-部门ID不能为空", false);
//Assert.isNull(toArchiveParticipantsComReqDto.getDeptOkrTargetId(),"B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-部门OKR目标ID不能为空",false);
        Assert.isNull(toArchiveParticipantsComReqDto.getTableTypeCode(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-内容表类型编码不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getEntityId(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-内容表主键ID不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getSubjectTypeCode(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-主体类型编码不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getSubjectChangeType(), "B3-6想存档基层参与者(管理)-D3-6想存档参与者(公共)-主体变更日志类型不能为空", false);
        toArchiveParticipantsComRespDto = fwAppVirtualOrgClient.toArchiveParticipantsCom(toArchiveParticipantsComReqDto).getData();


        BffToArchiveBasicParticipantsRespDto retData = new BffToArchiveBasicParticipantsRespDto();


        return retData;
    }

    /**
     * B3-6删除高中基层参与者(管理)[2624]
     * gen by moon at 10/7/2022, 2:13:42 AM
     */
    @Trace(operationName = "B3-6删除高中基层参与者(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteTopParticipantsRespDto deleteTopParticipants(BffDeleteTopParticipantsReqDto reqDto) {


        //步骤0: D3-6删除参与者 - deleteParticipants
        DeleteParticipantsRespDto deleteParticipantsRespDto = null;
        DeleteParticipantsReqDto deleteParticipantsReqDto = new DeleteParticipantsReqDto();
        if (reqDto != null) {
            deleteParticipantsReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:164695_1
            deleteParticipantsReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:254428_1
            deleteParticipantsReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:254429_1
            deleteParticipantsReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:254430_1
            deleteParticipantsReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:358975_1
            deleteParticipantsReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:254434_1
            deleteParticipantsReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:254435_1
        }

        /*D3-6删除参与者[2623]   */
        Assert.isNull(deleteParticipantsReqDto.getVirtualOrgMemberId(), "B3-6删除高中基层参与者(管理)-D3-6删除参与者-虚拟组织成员ID不能为空", false);
        Assert.isNull(deleteParticipantsReqDto.getBatchOperateScene(), "B3-6删除高中基层参与者(管理)-D3-6删除参与者-高/中/基层操作场景不能为空", false);
        Assert.isNull(deleteParticipantsReqDto.getTargetId(), "B3-6删除高中基层参与者(管理)-D3-6删除参与者-冗余目标ID不能为空", false);
        Assert.isNull(deleteParticipantsReqDto.getEvaluationTemplateId(), "B3-6删除高中基层参与者(管理)-D3-6删除参与者-冗余评价模板ID不能为空", false);
        Assert.isNull(deleteParticipantsReqDto.getTableTypeCode(), "B3-6删除高中基层参与者(管理)-D3-6删除参与者-内容表类型编码不能为空", false);
        Assert.isNull(deleteParticipantsReqDto.getEntityId(), "B3-6删除高中基层参与者(管理)-D3-6删除参与者-内容表主键ID不能为空", false);
        deleteParticipantsRespDto = fwAppVirtualOrgClient.deleteParticipants(deleteParticipantsReqDto).getData();


        BffDeleteTopParticipantsRespDto retData = new BffDeleteTopParticipantsRespDto();


        return retData;
    }

    /**
     * B3-6查目标分类分管领导详情(管理)[2631]
     * gen by moon at 10/29/2022, 10:30:52 PM
     */
    @Trace(operationName = "B3-6查目标分类分管领导详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTargetCatDeptLeaderDetailRespDto queryTargetCatDeptLeaderDetail(BffQueryTargetCatDeptLeaderDetailReqDto reqDto) {


        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto_1 = null;
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto_1 = null;
//步骤0: D3-6查虚拟组织成员详情 - queryVirtualOrgMemberDetail
        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto = null;
        QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto = new QueryVirtualOrgMemberDetailReqDto();
        queryVirtualOrgMemberDetailReqDto.setTableTypeCode("OMS_TARGET_CATEGORY");//sourceId:80807_1
        queryVirtualOrgMemberDetailReqDto.setRoleCode("DEPT_LEADER");//CUSTOM_CONVENTION//sourceId:80806_1
        if (reqDto != null) {
            queryVirtualOrgMemberDetailReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:80808_1
        }

        /*D3-6查虚拟组织成员详情[2632]   */
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getEntityId(), "B3-6查目标分类分管领导详情(管理)-D3-6查虚拟组织成员详情-冗余内容表主键ID不能为空", false);
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getRoleCode(), "B3-6查目标分类分管领导详情(管理)-D3-6查虚拟组织成员详情-角色标识不能为空", false);
        queryVirtualOrgMemberDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto).getData();


        queryVirtualOrgMemberDetailRespDto_1 = queryVirtualOrgMemberDetailRespDto;

//步骤1: D1-2查询个人资料详情(公共) - queryUserInfoDetailCom
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
        if (queryVirtualOrgMemberDetailRespDto != null && queryVirtualOrgMemberDetailRespDto != null && queryVirtualOrgMemberDetailRespDto.getUserId() != null) {
            QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
            if (queryVirtualOrgMemberDetailRespDto != null) {
                queryUserInfoDetailComReqDto.setUserId(queryVirtualOrgMemberDetailRespDto.getUserId());//SimpleFieldAssign//sourceId:80839_1
            }

            /*D1-2查询个人资料详情(公共)[408]   */
            Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B3-6查目标分类分管领导详情(管理)-D1-2查询个人资料详情(公共)-账号不能为空", false);
            queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData();


            queryUserInfoDetailComRespDto_1 = queryUserInfoDetailComRespDto;
        }

        BffQueryTargetCatDeptLeaderDetailRespDto retData = new BffQueryTargetCatDeptLeaderDetailRespDto();
        if (queryVirtualOrgMemberDetailRespDto_1 != null) {
            retData.setVirtualOrgMemberId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:80851_1
            retData.setVirtualOrgInductionRecordId(queryVirtualOrgMemberDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:80836_1
            retData.setRoleCode(queryVirtualOrgMemberDetailRespDto_1.getRoleCode());//SimpleFieldAssign//sourceId:80838_1
            retData.setUserId(queryVirtualOrgMemberDetailRespDto_1.getUserId());//SimpleFieldAssign//sourceId:80837_1
        }
        if (queryUserInfoDetailComRespDto_1 != null) {
            retData.setUserFace(queryUserInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:80849_1
            retData.setIdCardName(queryUserInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:80847_1
            retData.setNickName(queryUserInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:80848_1
        }


        return retData;
    }

    /**
     * B3-6查询目标内容负责人或主管详情(管理)[2635]
     * gen by moon at 11/12/2023, 10:20:53 PM
     */
    @Trace(operationName = "B3-6查询目标内容负责人或主管详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTargetContPrincipalOrDirectorDetailRespDto queryTargetContPrincipalOrDirectorDetail(BffQueryTargetContPrincipalOrDirectorDetailReqDto reqDto) {


        QueryTargetContPrincipalOrDirectorDetailRespDto queryTargetContPrincipalOrDirectorDetailRespDto_1 = null;
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto_1 = null;
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto_3 = null;
//步骤0: D3-6查询目标内容负责人或主管详情 - queryTargetContPrincipalOrDirectorDetail
        QueryTargetContPrincipalOrDirectorDetailRespDto queryTargetContPrincipalOrDirectorDetailRespDto = null;
        QueryTargetContPrincipalOrDirectorDetailReqDto queryTargetContPrincipalOrDirectorDetailReqDto = new QueryTargetContPrincipalOrDirectorDetailReqDto();
        if (reqDto != null) {
            queryTargetContPrincipalOrDirectorDetailReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:359095_1
            queryTargetContPrincipalOrDirectorDetailReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:359096_1
            queryTargetContPrincipalOrDirectorDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:359098_1
        }

        /*D3-6查询目标内容负责人或主管详情[4755]   */
        Assert.isNull(queryTargetContPrincipalOrDirectorDetailReqDto.getTableTypeCode(), "B3-6查询目标内容负责人或主管详情(管理)-D3-6查询目标内容负责人或主管详情-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryTargetContPrincipalOrDirectorDetailReqDto.getEntityId(), "B3-6查询目标内容负责人或主管详情(管理)-D3-6查询目标内容负责人或主管详情-冗余内容表主键ID不能为空", false);
        queryTargetContPrincipalOrDirectorDetailRespDto = fwAppVirtualOrgClient.queryTargetContPrincipalOrDirectorDetail(queryTargetContPrincipalOrDirectorDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryTargetContPrincipalOrDirectorDetailRespDto_1 = queryTargetContPrincipalOrDirectorDetailRespDto;

//步骤1: D1-2查询个人资料详情(公共) - queryUserInfoDetailCom
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
        if (queryTargetContPrincipalOrDirectorDetailRespDto != null && queryTargetContPrincipalOrDirectorDetailRespDto != null && queryTargetContPrincipalOrDirectorDetailRespDto.getPersonLiableUserId() != null) {
            QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
            if (queryTargetContPrincipalOrDirectorDetailRespDto != null) {
                queryUserInfoDetailComReqDto.setUserId(queryTargetContPrincipalOrDirectorDetailRespDto.getPersonLiableUserId());//SimpleFieldAssign//sourceId:81230_1
            }

            /*D1-2查询责任人资料(公共)[408]   */
            Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B3-6查询目标内容负责人或主管详情(管理)-D1-2查询责任人资料(公共)-账号不能为空", false);
            queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryUserInfoDetailComRespDto_1 = queryUserInfoDetailComRespDto;
        }

//步骤2: D1-2查询个人资料详情(公共) - queryUserInfoDetailCom
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto_2 = null;
        if (queryTargetContPrincipalOrDirectorDetailRespDto != null && queryTargetContPrincipalOrDirectorDetailRespDto != null && queryTargetContPrincipalOrDirectorDetailRespDto.getDirectorUserId() != null) {
            QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto_1 = new QueryUserInfoDetailComReqDto();
            if (queryTargetContPrincipalOrDirectorDetailRespDto != null) {
                queryUserInfoDetailComReqDto_1.setUserId(queryTargetContPrincipalOrDirectorDetailRespDto.getDirectorUserId());//SimpleFieldAssign//sourceId:359110_1
            }

            /*D1-2查询主管资料详情(公共)[408]   */
            Assert.isNull(queryUserInfoDetailComReqDto_1.getUserId(), "B3-6查询目标内容负责人或主管详情(管理)-D1-2查询主管资料详情(公共)-账号不能为空", false);
            queryUserInfoDetailComRespDto_2 = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


            queryUserInfoDetailComRespDto_3 = queryUserInfoDetailComRespDto_2;
        }

        BffQueryTargetContPrincipalOrDirectorDetailRespDto retData = new BffQueryTargetContPrincipalOrDirectorDetailRespDto();
        if (queryTargetContPrincipalOrDirectorDetailRespDto_1 != null) {
            retData.setPersonLiableVirtualOrgMemberId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getPersonLiableVirtualOrgMemberId());//SimpleFieldAssign//sourceId:359121_1
            retData.setPersonLiableVirtualOrgInductionRecordId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getPersonLiableVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:359122_1
            retData.setPersonLiableUserId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getPersonLiableUserId());//SimpleFieldAssign//sourceId:359123_1
            retData.setPersonLiableRoleCode(queryTargetContPrincipalOrDirectorDetailRespDto_1.getPersonLiableRoleCode());//SimpleFieldAssign//sourceId:359124_1
            retData.setDirectorVirtualOrgMemberId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getDirectorVirtualOrgMemberId());//SimpleFieldAssign//sourceId:359125_1
            retData.setDirectorVirtualOrgInductionRecordId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getDirectorVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:359126_1
            retData.setDirectorUserId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getDirectorUserId());//SimpleFieldAssign//sourceId:359127_1
            retData.setDirectorRoleCode(queryTargetContPrincipalOrDirectorDetailRespDto_1.getDirectorRoleCode());//SimpleFieldAssign//sourceId:359128_1
            retData.setPersonLiableDeptId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getPersonLiableDeptId());//SimpleFieldAssign//sourceId:640547_1
            retData.setPersonTypeDictionaryId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getPersonTypeDictionaryId());//SimpleFieldAssign//sourceId:661031_1
            retData.setDirectorDeptId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getDirectorDeptId());//SimpleFieldAssign//sourceId:640548_1
            retData.setDirectorTypeDictionaryId(queryTargetContPrincipalOrDirectorDetailRespDto_1.getDirectorTypeDictionaryId());//SimpleFieldAssign//sourceId:661032_1
        }
        if (queryUserInfoDetailComRespDto_1 != null) {
            retData.setPersonLiableUserFace(queryUserInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:359129_1
            retData.setPersonLiableIdCardName(queryUserInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:359130_1
            retData.setPersonLiableNickName(queryUserInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:359131_1
        }
        if (queryUserInfoDetailComRespDto_3 != null) {
            retData.setDirectorIdCardName(queryUserInfoDetailComRespDto_3.getIdCardName());//SimpleFieldAssign//sourceId:359132_1
            retData.setDirectorNickName(queryUserInfoDetailComRespDto_3.getNickName());//SimpleFieldAssign//sourceId:359133_1
        }


        return retData;
    }

    /**
     * B3-6取消高中基层管理员(管理)[2636]
     * gen by moon at 10/6/2022, 2:01:07 AM
     */
    @Trace(operationName = "B3-6取消高中基层管理员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffCancelTopAdminRespDto cancelTopAdmin(BffCancelTopAdminReqDto reqDto) {


        //步骤0: D3-6取消目标内容管理员 - cancelTargetContAdmin
        CancelTargetContAdminRespDto cancelTargetContAdminRespDto = null;
        CancelTargetContAdminReqDto cancelTargetContAdminReqDto = new CancelTargetContAdminReqDto();
        if (reqDto != null) {
            cancelTargetContAdminReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:167635_1
            cancelTargetContAdminReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:167636_1
            cancelTargetContAdminReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:167637_1
        }

        /*D3-6取消目标内容管理员[3696]   */
        Assert.isNull(cancelTargetContAdminReqDto.getVirtualOrgMemberId(), "B3-6取消高中基层管理员(管理)-D3-6取消目标内容管理员-虚拟组织成员ID不能为空", false);
        Assert.isNull(cancelTargetContAdminReqDto.getEntityId(), "B3-6取消高中基层管理员(管理)-D3-6取消目标内容管理员-目标内容ID不能为空", false);
        Assert.isNull(cancelTargetContAdminReqDto.getTableTypeCode(), "B3-6取消高中基层管理员(管理)-D3-6取消目标内容管理员-目标内容类型编码不能为空", false);
        cancelTargetContAdminRespDto = fwAppVirtualOrgClient.cancelTargetContAdmin(cancelTargetContAdminReqDto).getData();


        BffCancelTopAdminRespDto retData = new BffCancelTopAdminRespDto();


        return retData;
    }

    /**
     * B3-6新增高中基层参与者(管理)[2727]
     * gen by moon at 1/27/2023, 8:33:15 PM
     */
    @Trace(operationName = "B3-6新增高中基层参与者(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddTopParticipantsRespDto addTopParticipants(BffAddTopParticipantsReqDto reqDto) {


        AddParticipantsRespDto addParticipantsRespDto_1 = null;
//步骤0: D3-6新增参与者 - addParticipants
        AddParticipantsRespDto addParticipantsRespDto = null;
        AddParticipantsReqDto addParticipantsReqDto = new AddParticipantsReqDto();
        addParticipantsReqDto.setRoleCode("PARTICIPANTS");//CUSTOM_CONVENTION//sourceId:164536_1
        addParticipantsReqDto.setVirtualOrganizationPosition("参与者");//CUSTOM_CONVENTION//sourceId:164537_1
        addParticipantsReqDto.setIsAdmin("FALSE");//sourceId:164540_1
        addParticipantsReqDto.setIsDirectStakeholders("TRUE");//sourceId:164541_1
        addParticipantsReqDto.setIsUpperLowerLevels("FALSE");//sourceId:413298_1
        addParticipantsReqDto.setIsPersonCharge("FALSE");//sourceId:164542_1
        addParticipantsReqDto.setIsDisplay("TRUE");//sourceId:164543_1
        addParticipantsReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:254420_1
        addParticipantsReqDto.setSubjectChangeType("ADD_PARTICIPANTS");//CUSTOM_CONVENTION//sourceId:254421_1
        if (reqDto != null) {
            addParticipantsReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:164534_1
            addParticipantsReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:164535_1
            addParticipantsReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:254411_1
            addParticipantsReqDto.setFirstLetter(reqDto.getFirstLetter());//SimpleFieldAssign//sourceId:164539_1
            addParticipantsReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:254412_1
            addParticipantsReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:254413_1
            addParticipantsReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:254414_1
            addParticipantsReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:254415_1
            addParticipantsReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:254416_1
            addParticipantsReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:358973_1
        }

        /*D3-6新增参与者[3658]   */
        Assert.isNull(addParticipantsReqDto.getVirtualOrgInductionRecordId(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-虚拟组织成员就职记录ID不能为空", false);
        Assert.isNull(addParticipantsReqDto.getUserId(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-个人账号不能为空", false);
        Assert.isNull(addParticipantsReqDto.getOriginalRoleMemberId(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-身份人员ID不能为空", false);
        Assert.isNull(addParticipantsReqDto.getFirstLetter(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-备注首位字母不能为空", false);
        Assert.isNull(addParticipantsReqDto.getRoleCode(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-角色标识不能为空", false);
        Assert.isNull(addParticipantsReqDto.getVirtualOrganizationPosition(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-组内职务名称不能为空", false);
        Assert.isNull(addParticipantsReqDto.getIsAdmin(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-是否管理员不能为空", false);
        Assert.isNull(addParticipantsReqDto.getIsDirectStakeholders(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-是否直接干系人不能为空", false);
        Assert.isNull(addParticipantsReqDto.getIsUpperLowerLevels(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-是否上下级关系不能为空", false);
        Assert.isNull(addParticipantsReqDto.getIsPersonCharge(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-是否负责人不能为空", false);
        Assert.isNull(addParticipantsReqDto.getIsDisplay(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-是否外部展示不能为空", false);
        Assert.isNull(addParticipantsReqDto.getBatchOperateScene(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-高/中/基层操作场景不能为空", false);
        Assert.isNull(addParticipantsReqDto.getTableTypeCode(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-冗余内容表类型编码不能为空", false);
        Assert.isNull(addParticipantsReqDto.getEntityId(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-冗余内容表主键ID不能为空", false);
        Assert.isNull(addParticipantsReqDto.getTargetId(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-冗余目标ID不能为空", false);
        Assert.isNull(addParticipantsReqDto.getEvaluationTemplateId(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-冗余评价模板ID不能为空", false);
        Assert.isNull(addParticipantsReqDto.getSubjectTypeCode(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-主体类型编码不能为空", false);
        Assert.isNull(addParticipantsReqDto.getSubjectChangeType(), "B3-6新增高中基层参与者(管理)-D3-6新增参与者-主体变更日志类型不能为空", false);
        addParticipantsRespDto = fwAppVirtualOrgClient.addParticipants(addParticipantsReqDto).getData();


        addParticipantsRespDto_1 = addParticipantsRespDto;

        BffAddTopParticipantsRespDto retData = new BffAddTopParticipantsRespDto();
        if (addParticipantsRespDto_1 != null) {
            retData.setVirtualOrgMemberId(addParticipantsRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:164555_1
            retData.setInductionRecordId(addParticipantsRespDto_1.getInductionRecordId());//SimpleFieldAssign//sourceId:637192_1
            retData.setParticipatorAbnormalStoryTips(addParticipantsRespDto_1.getParticipatorAbnormalStoryTips());//SimpleFieldAssign//sourceId:445881_1
        }


        return retData;
    }

    /**
     * B3-6想存档高中基层参与者(管理)[3864]
     * gen by moon at 10/6/2022, 2:01:33 AM
     */
    @Trace(operationName = "B3-6想存档高中基层参与者(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffToArchiveTopParticipantsRespDto toArchiveTopParticipants(BffToArchiveTopParticipantsReqDto reqDto) {


        //步骤0: D3-6想存档参与者(公共) - toArchiveParticipantsCom
        ToArchiveParticipantsComRespDto toArchiveParticipantsComRespDto = null;
        ToArchiveParticipantsComReqDto toArchiveParticipantsComReqDto = new ToArchiveParticipantsComReqDto();
        toArchiveParticipantsComReqDto.setSubjectTypeCode("EVALUATION_TEMPLATE_LOG_NAV");//sourceId:254482_1
        toArchiveParticipantsComReqDto.setSubjectChangeType("ARCHIVE_PARTICIPANTS");//CUSTOM_CONVENTION//sourceId:254483_1
        if (reqDto != null) {
            toArchiveParticipantsComReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:254474_1
            toArchiveParticipantsComReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:193376_1
            toArchiveParticipantsComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:254475_1
            toArchiveParticipantsComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:254476_1
            toArchiveParticipantsComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:358977_1
            toArchiveParticipantsComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:254480_1
            toArchiveParticipantsComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:254481_1
        }

        /*D3-6想存档参与者(公共)[3859]   */
        Assert.isNull(toArchiveParticipantsComReqDto.getBatchOperateScene(), "B3-6想存档高中基层参与者(管理)-D3-6想存档参与者(公共)-高/中/基层操作场景不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getVirtualOrgMemberId(), "B3-6想存档高中基层参与者(管理)-D3-6想存档参与者(公共)-虚拟组织成员ID不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getTargetId(), "B3-6想存档高中基层参与者(管理)-D3-6想存档参与者(公共)-冗余目标ID不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getTableTypeCode(), "B3-6想存档高中基层参与者(管理)-D3-6想存档参与者(公共)-内容表类型编码不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getEntityId(), "B3-6想存档高中基层参与者(管理)-D3-6想存档参与者(公共)-内容表主键ID不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getSubjectTypeCode(), "B3-6想存档高中基层参与者(管理)-D3-6想存档参与者(公共)-主体类型编码不能为空", false);
        Assert.isNull(toArchiveParticipantsComReqDto.getSubjectChangeType(), "B3-6想存档高中基层参与者(管理)-D3-6想存档参与者(公共)-主体变更日志类型不能为空", false);
        toArchiveParticipantsComRespDto = fwAppVirtualOrgClient.toArchiveParticipantsCom(toArchiveParticipantsComReqDto).getData();


        BffToArchiveTopParticipantsRespDto retData = new BffToArchiveTopParticipantsRespDto();


        return retData;
    }

    /**
     * B3-6撤销想存档高中基层参与者(管理)[3865]
     * gen by moon at 10/6/2022, 2:01:37 AM
     */
    @Trace(operationName = "B3-6撤销想存档高中基层参与者(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUndoToArchiveTopParticipantsRespDto undoToArchiveTopParticipants(BffUndoToArchiveTopParticipantsReqDto reqDto) {


        //步骤0: D3-6撤销想存档参与者(公共) - undoToArchiveParticipantsCom
        UndoToArchiveParticipantsComRespDto undoToArchiveParticipantsComRespDto = null;
        UndoToArchiveParticipantsComReqDto undoToArchiveParticipantsComReqDto = new UndoToArchiveParticipantsComReqDto();
        if (reqDto != null) {
            undoToArchiveParticipantsComReqDto.setBatchOperateScene(reqDto.getBatchOperateScene());//SimpleFieldAssign//sourceId:254529_1
            undoToArchiveParticipantsComReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:193387_1
            undoToArchiveParticipantsComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:254530_1
            undoToArchiveParticipantsComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:254531_1
            undoToArchiveParticipantsComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:358980_1
            undoToArchiveParticipantsComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:254535_1
            undoToArchiveParticipantsComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:254536_1
        }

        /*D3-6撤销想存档参与者(公共)[3861]   */
        Assert.isNull(undoToArchiveParticipantsComReqDto.getBatchOperateScene(), "B3-6撤销想存档高中基层参与者(管理)-D3-6撤销想存档参与者(公共)-高/中/基层操作场景不能为空", false);
        Assert.isNull(undoToArchiveParticipantsComReqDto.getVirtualOrgMemberId(), "B3-6撤销想存档高中基层参与者(管理)-D3-6撤销想存档参与者(公共)-虚拟组织成员ID不能为空", false);
        Assert.isNull(undoToArchiveParticipantsComReqDto.getTargetId(), "B3-6撤销想存档高中基层参与者(管理)-D3-6撤销想存档参与者(公共)-冗余目标ID不能为空", false);
        Assert.isNull(undoToArchiveParticipantsComReqDto.getTableTypeCode(), "B3-6撤销想存档高中基层参与者(管理)-D3-6撤销想存档参与者(公共)-内容表类型编码不能为空", false);
        Assert.isNull(undoToArchiveParticipantsComReqDto.getEntityId(), "B3-6撤销想存档高中基层参与者(管理)-D3-6撤销想存档参与者(公共)-内容表主键ID不能为空", false);
        undoToArchiveParticipantsComRespDto = fwAppVirtualOrgClient.undoToArchiveParticipantsCom(undoToArchiveParticipantsComReqDto).getData();


        BffUndoToArchiveTopParticipantsRespDto retData = new BffUndoToArchiveTopParticipantsRespDto();


        return retData;
    }

    /**
     * B3-6修改工作组成员(管理)[2586]
     * gen by moon at 10/8/2022, 3:08:37 AM
     */
    @Trace(operationName = "B3-6修改工作组成员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateWorkGroupRespDto updateWorkGroup(BffUpdateWorkGroupReqDto reqDto) {


        //步骤0: D3-6修改工作组成员 - updateWorkGroup
        UpdateWorkGroupRespDto updateWorkGroupRespDto = null;
        UpdateWorkGroupReqDto updateWorkGroupReqDto = new UpdateWorkGroupReqDto();
        if (reqDto != null) {
            updateWorkGroupReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:93955_1
            updateWorkGroupReqDto.setIsAdmin(reqDto.getIsAdmin());//SimpleFieldAssign//sourceId:93956_1
            updateWorkGroupReqDto.setVirtualOrganizationPosition(reqDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:93957_1
            updateWorkGroupReqDto.setVirtualOrganizationPositionDesc(reqDto.getVirtualOrganizationPositionDesc());//SimpleFieldAssign//sourceId:93958_1
            updateWorkGroupReqDto.setInductionStartTime(reqDto.getInductionStartTime());//SimpleFieldAssign//sourceId:93959_1
            updateWorkGroupReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:93961_1
            updateWorkGroupReqDto.setIsDisplay(reqDto.getIsDisplay());//SimpleFieldAssign//sourceId:93962_1
            updateWorkGroupReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:217243_1
            updateWorkGroupReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:330000_1
        }

        /*D3-6修改工作组成员[2924]   */
        Assert.isNull(updateWorkGroupReqDto.getVirtualOrgMemberId(), "B3-6修改工作组成员(管理)-D3-6修改工作组成员-虚拟组织成员ID不能为空", false);
        Assert.isNull(updateWorkGroupReqDto.getEntityId(), "B3-6修改工作组成员(管理)-D3-6修改工作组成员-目标ID不能为空", false);
        Assert.isNull(updateWorkGroupReqDto.getEvaluationTemplateId(), "B3-6修改工作组成员(管理)-D3-6修改工作组成员-冗余评价模板ID不能为空", false);
        updateWorkGroupRespDto = fwAppVirtualOrgClient.updateWorkGroup(updateWorkGroupReqDto).getData();


        BffUpdateWorkGroupRespDto retData = new BffUpdateWorkGroupRespDto();


        return retData;
    }

    /**
     * B3-6新增工作组成员(管理)[2587]
     * gen by moon at 10/6/2022, 2:00:40 AM
     */
    @Trace(operationName = "B3-6新增工作组成员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddWorkGroupRespDto addWorkGroup(BffAddWorkGroupReqDto reqDto) {


        AddWorkGroupRespDto addWorkGroupRespDto_1 = null;
//步骤0: D3-6新增工作组成员 - addWorkGroup
        AddWorkGroupRespDto addWorkGroupRespDto = null;
        AddWorkGroupReqDto addWorkGroupReqDto = new AddWorkGroupReqDto();
        if (reqDto != null) {
            addWorkGroupReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:203099_1
            addWorkGroupReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:203100_1
            addWorkGroupReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:93892_1
            addWorkGroupReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:93893_1
            addWorkGroupReqDto.setOriginalRoleMemberId(reqDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:203101_1
            addWorkGroupReqDto.setFirstLetter(reqDto.getFirstLetter());//SimpleFieldAssign//sourceId:93894_1
            addWorkGroupReqDto.setInductionStartTime(reqDto.getInductionStartTime());//SimpleFieldAssign//sourceId:203102_1
            addWorkGroupReqDto.setVirtualOrganizationPosition(reqDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:203103_1
            addWorkGroupReqDto.setVirtualOrganizationPositionDesc(reqDto.getVirtualOrganizationPositionDesc());//SimpleFieldAssign//sourceId:203104_1
            addWorkGroupReqDto.setIsAdmin(reqDto.getIsAdmin());//SimpleFieldAssign//sourceId:203105_1
            addWorkGroupReqDto.setIsPersonCharge(reqDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:203106_1
            addWorkGroupReqDto.setIsDisplay(reqDto.getIsDisplay());//SimpleFieldAssign//sourceId:203107_1
        }

        /*D3-6新增工作组成员[2923]   */
        Assert.isNull(addWorkGroupReqDto.getEntityId(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-目标ID不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getEvaluationTemplateId(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-评价模板ID不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getVirtualOrgInductionRecordId(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-虚拟组织成员就职记录ID不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getUserId(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-个人账号不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getOriginalRoleMemberId(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-身份人员ID不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getFirstLetter(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-备注首位字母不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getInductionStartTime(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-就职开始时间不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getIsAdmin(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-是否管理员不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getIsPersonCharge(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-是否负责人不能为空", false);
        Assert.isNull(addWorkGroupReqDto.getIsDisplay(), "B3-6新增工作组成员(管理)-D3-6新增工作组成员-是否外部展示不能为空", false);
        addWorkGroupRespDto = fwAppVirtualOrgClient.addWorkGroup(addWorkGroupReqDto).getData();


        addWorkGroupRespDto_1 = addWorkGroupRespDto;

        BffAddWorkGroupRespDto retData = new BffAddWorkGroupRespDto();
        if (addWorkGroupRespDto_1 != null) {
            retData.setVirtualOrgMemberId(addWorkGroupRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:93904_1
        }


        return retData;
    }

    /**
     * B3-6删除工作组成员(管理)[2589]
     * gen by moon at 10/6/2022, 2:00:43 AM
     */
    @Trace(operationName = "B3-6删除工作组成员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteWorkGroupRespDto deleteWorkGroup(BffDeleteWorkGroupReqDto reqDto) {


        //步骤0: D3-6删除工作组成员 - deleteWorkGroup
        DeleteWorkGroupRespDto deleteWorkGroupRespDto = null;
        DeleteWorkGroupReqDto deleteWorkGroupReqDto = new DeleteWorkGroupReqDto();
        if (reqDto != null) {
            deleteWorkGroupReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:206986_1
            deleteWorkGroupReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:206987_1
            deleteWorkGroupReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:206988_1
        }

        /*D3-6删除工作组成员[2922]   */
        Assert.isNull(deleteWorkGroupReqDto.getVirtualOrgMemberId(), "B3-6删除工作组成员(管理)-D3-6删除工作组成员-虚拟组织成员ID不能为空", false);
        Assert.isNull(deleteWorkGroupReqDto.getTargetId(), "B3-6删除工作组成员(管理)-D3-6删除工作组成员-冗余目标ID不能为空", false);
        Assert.isNull(deleteWorkGroupReqDto.getEvaluationTemplateId(), "B3-6删除工作组成员(管理)-D3-6删除工作组成员-冗余评价模板ID不能为空", false);
        deleteWorkGroupRespDto = fwAppVirtualOrgClient.deleteWorkGroup(deleteWorkGroupReqDto).getData();


        BffDeleteWorkGroupRespDto retData = new BffDeleteWorkGroupRespDto();


        return retData;
    }

    /**
     * B3-6设置高中基层管理员(管理)[2610]
     * gen by moon at 10/6/2022, 2:00:49 AM
     */
    @Trace(operationName = "B3-6设置高中基层管理员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetTopAdminRespDto setTopAdmin(BffSetTopAdminReqDto reqDto) {


        //步骤0: D3-6修改目标内容管理员 - updateTargetContAdmin
        UpdateTargetContAdminRespDto updateTargetContAdminRespDto = null;
        UpdateTargetContAdminReqDto updateTargetContAdminReqDto = new UpdateTargetContAdminReqDto();
        updateTargetContAdminReqDto.setIsAdmin("TRUE");//sourceId:81249_1
        if (reqDto != null) {
            updateTargetContAdminReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:81248_1
        }

        /*D3-6设置目标内容管理员[2611]   */
        Assert.isNull(updateTargetContAdminReqDto.getVirtualOrgMemberId(), "B3-6设置高中基层管理员(管理)-D3-6设置目标内容管理员-虚拟组织成员ID不能为空", false);
        Assert.isNull(updateTargetContAdminReqDto.getIsAdmin(), "B3-6设置高中基层管理员(管理)-D3-6设置目标内容管理员-是否管理员不能为空", false);
        updateTargetContAdminRespDto = fwAppVirtualOrgClient.updateTargetContAdmin(updateTargetContAdminReqDto).getData();


        BffSetTopAdminRespDto retData = new BffSetTopAdminRespDto();


        return retData;
    }

    /**
     * B3-6设分管领导(管理)[2630]
     * gen by moon at 12/28/2023, 3:13:59 PM
     */
    @Trace(operationName = "B3-6设分管领导(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetConstTaskDeptLeaderRespDto setConstTaskDeptLeader(BffSetConstTaskDeptLeaderReqDto reqDto) {


        if ((reqDto != null && reqDto.getTableTypeCode() != null && reqDto.getTableTypeCode().equals("OMS_TARGET_CATEGORY"))) {
            //if(B3-6设分管领导(管理).内容表类型编码 等于 目标分类表)  48589

            AddVirtualOrgMemberRespDto addVirtualOrgMemberRespDto = null;
            AddVirtualOrgMemberReqDto addVirtualOrgMemberReqDto = new AddVirtualOrgMemberReqDto();
            addVirtualOrgMemberReqDto.setRoleCode("DEPT_LEADER");//CUSTOM_CONVENTION//sourceId:164381_1_48590
            addVirtualOrgMemberReqDto.setVirtualOrganizationPosition("分管领导");//CUSTOM_CONVENTION//sourceId:164382_1_48590
            addVirtualOrgMemberReqDto.setIsAdmin("FALSE");//sourceId:164385_1_48590
            addVirtualOrgMemberReqDto.setIsDirectStakeholders("FALSE");//sourceId:164386_1_48590
            addVirtualOrgMemberReqDto.setIsUpperLowerLevels("FALSE");//sourceId:369849_1_48590
            addVirtualOrgMemberReqDto.setIsPersonCharge("FALSE");//sourceId:164387_1_48590
            addVirtualOrgMemberReqDto.setIsDisplay("TRUE");//sourceId:164388_1_48590
            addVirtualOrgMemberReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1447432_1_48590
            addVirtualOrgMemberReqDto.setOrderNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:164389_1_48590
            if (reqDto != null) {
                addVirtualOrgMemberReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:164377_1_48590
                addVirtualOrgMemberReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:164379_1_48590
                addVirtualOrgMemberReqDto.setFirstLetter(reqDto.getFirstLetter());//SimpleFieldAssign//sourceId:164384_1_48590
                addVirtualOrgMemberReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:164378_1_48590
                addVirtualOrgMemberReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:164380_1_48590
                addVirtualOrgMemberReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:164390_1_48590
            }

            /*D3-6设目标分管领导[2607]   */
            Assert.isNull(addVirtualOrgMemberReqDto.getVirtualOrgInductionRecordId(), "B3-6设分管领导(管理)-D3-6设目标分管领导-虚拟组织成员就职记录ID不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getUserId(), "B3-6设分管领导(管理)-D3-6设目标分管领导-个人账号不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getFirstLetter(), "B3-6设分管领导(管理)-D3-6设目标分管领导-备注首位字母不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getRoleCode(), "B3-6设分管领导(管理)-D3-6设目标分管领导-角色标识不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getVirtualOrganizationPosition(), "B3-6设分管领导(管理)-D3-6设目标分管领导-组内职务名称不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getIsAdmin(), "B3-6设分管领导(管理)-D3-6设目标分管领导-是否管理员不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getIsDirectStakeholders(), "B3-6设分管领导(管理)-D3-6设目标分管领导-是否直接干系人不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getIsUpperLowerLevels(), "B3-6设分管领导(管理)-D3-6设目标分管领导-是否上下级关系不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getIsPersonCharge(), "B3-6设分管领导(管理)-D3-6设目标分管领导-是否负责人不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getIsDisplay(), "B3-6设分管领导(管理)-D3-6设目标分管领导-是否外部展示不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getTableTypeCode(), "B3-6设分管领导(管理)-D3-6设目标分管领导-内容表类型编码不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getEntityId(), "B3-6设分管领导(管理)-D3-6设目标分管领导-内容表主键ID不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto.getOrderNumber(), "B3-6设分管领导(管理)-D3-6设目标分管领导-排序不能为空", false);
            addVirtualOrgMemberRespDto = fwAppVirtualOrgClient.addVirtualOrgMember(addVirtualOrgMemberReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        } else if ((reqDto != null && reqDto.getTableTypeCode() != null && reqDto.getTableTypeCode().equals("OMS_TARGET_OBJECTIVE"))) {
            //elseif(B3-6设分管领导(管理).内容表类型编码 等于 指标表)  48591

            AddVirtualOrgMemberRespDto addVirtualOrgMemberRespDto_2 = null;
            AddVirtualOrgMemberReqDto addVirtualOrgMemberReqDto_1 = new AddVirtualOrgMemberReqDto();
            addVirtualOrgMemberReqDto_1.setRoleCode("DEPT_LEADER");//CUSTOM_CONVENTION//sourceId:1124076_1_48592
            addVirtualOrgMemberReqDto_1.setVirtualOrganizationPosition("分管领导");//CUSTOM_CONVENTION//sourceId:1124077_1_48592
            addVirtualOrgMemberReqDto_1.setIsAdmin("FALSE");//sourceId:1124080_1_48592
            addVirtualOrgMemberReqDto_1.setIsUpperLowerLevels("FALSE");//sourceId:1124086_1_48592
            addVirtualOrgMemberReqDto_1.setIsDirectStakeholders("FALSE");//sourceId:1124081_1_48592
            addVirtualOrgMemberReqDto_1.setIsPersonCharge("FALSE");//sourceId:1124082_1_48592
            addVirtualOrgMemberReqDto_1.setIsDisplay("TRUE");//sourceId:1124083_1_48592
            addVirtualOrgMemberReqDto_1.setUseScene("TARGET_PLAN_SCENE");//sourceId:1447431_1_48592
            addVirtualOrgMemberReqDto_1.setOrderNumber(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1124084_1_48592
            if (reqDto != null) {
                addVirtualOrgMemberReqDto_1.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1124072_1_48592
                addVirtualOrgMemberReqDto_1.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1124074_1_48592
                addVirtualOrgMemberReqDto_1.setFirstLetter(reqDto.getFirstLetter());//SimpleFieldAssign//sourceId:1124079_1_48592
                addVirtualOrgMemberReqDto_1.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1124073_1_48592
                addVirtualOrgMemberReqDto_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1124075_1_48592
                addVirtualOrgMemberReqDto_1.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:1124085_1_48592
            }

            /*D3-6设一级指标分管领导[2607]   */
            Assert.isNull(addVirtualOrgMemberReqDto_1.getVirtualOrgInductionRecordId(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-虚拟组织成员就职记录ID不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getUserId(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-个人账号不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getFirstLetter(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-备注首位字母不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getRoleCode(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-角色标识不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getVirtualOrganizationPosition(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-组内职务名称不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getIsAdmin(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-是否管理员不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getIsUpperLowerLevels(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-是否上下级关系不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getIsDirectStakeholders(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-是否直接干系人不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getIsPersonCharge(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-是否负责人不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getIsDisplay(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-是否外部展示不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getTableTypeCode(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-内容表类型编码不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getEntityId(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-内容表主键ID不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getUseScene(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-虚拟组织使用场景不能为空", false);
            Assert.isNull(addVirtualOrgMemberReqDto_1.getOrderNumber(), "B3-6设分管领导(管理)-D3-6设一级指标分管领导-排序不能为空", false);
            addVirtualOrgMemberRespDto_2 = fwAppVirtualOrgClient.addVirtualOrgMember(addVirtualOrgMemberReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        BffSetConstTaskDeptLeaderRespDto retData = new BffSetConstTaskDeptLeaderRespDto();


        return retData;
    }

    /**
     * B3-6查询牵头部门详情(管理)[2633]
     * gen by moon at 5/5/2023, 11:54:36 AM
     */
    @Trace(operationName = "B3-6查询牵头部门详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryLeadDeptDetailRespDto queryLeadDeptDetail(BffQueryLeadDeptDetailReqDto reqDto) {


        QueryVirtualOrgMemberDeptDetailRespDto queryVirtualOrgMemberDeptDetailRespDto_1 = null;
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto_1 = null;
//步骤0: D3-6查虚拟成员部门详情 - queryVirtualOrgMemberDeptDetail
        QueryVirtualOrgMemberDeptDetailRespDto queryVirtualOrgMemberDeptDetailRespDto = null;
        QueryVirtualOrgMemberDeptDetailReqDto queryVirtualOrgMemberDeptDetailReqDto = new QueryVirtualOrgMemberDeptDetailReqDto();
        queryVirtualOrgMemberDeptDetailReqDto.setDeptType("LEAD_DEPT");//sourceId:80919_1
        queryVirtualOrgMemberDeptDetailReqDto.setIsArchive("FALSE");//sourceId:80920_1
        if (reqDto != null) {
            queryVirtualOrgMemberDeptDetailReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:80973_1
            queryVirtualOrgMemberDeptDetailReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:80972_1
        }

        /*D3-6查虚拟成员部门详情[2634]   */
        Assert.isNull(queryVirtualOrgMemberDeptDetailReqDto.getEntityId(), "B3-6查询牵头部门详情(管理)-D3-6查虚拟成员部门详情-冗余内容表主键ID不能为空", false);
        Assert.isNull(queryVirtualOrgMemberDeptDetailReqDto.getTableTypeCode(), "B3-6查询牵头部门详情(管理)-D3-6查虚拟成员部门详情-冗余内容表类型编码不能为空", false);
        Assert.isNull(queryVirtualOrgMemberDeptDetailReqDto.getDeptType(), "B3-6查询牵头部门详情(管理)-D3-6查虚拟成员部门详情-部门类型编码不能为空", false);
        Assert.isNull(queryVirtualOrgMemberDeptDetailReqDto.getIsArchive(), "B3-6查询牵头部门详情(管理)-D3-6查虚拟成员部门详情-是否存档不能为空", false);
        queryVirtualOrgMemberDeptDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDeptDetail(queryVirtualOrgMemberDeptDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryVirtualOrgMemberDeptDetailRespDto_1 = queryVirtualOrgMemberDeptDetailRespDto;

//步骤1: D1-3查询部门详情(公共)(边界) - queryDeptDetailComBorder
        QueryDeptDetailComBorderRespDto queryDeptDetailComBorderRespDto = null;
        if (queryVirtualOrgMemberDeptDetailRespDto != null && queryVirtualOrgMemberDeptDetailRespDto != null && queryVirtualOrgMemberDeptDetailRespDto.getDeptId() != null) {
            QueryDeptDetailComBorderReqDto queryDeptDetailComBorderReqDto = new QueryDeptDetailComBorderReqDto();
            if (queryVirtualOrgMemberDeptDetailRespDto != null) {
                queryDeptDetailComBorderReqDto.setDeptId(queryVirtualOrgMemberDeptDetailRespDto.getDeptId());//SimpleFieldAssign//sourceId:885638_1
            }

            /*D1-3查询部门详情(公共)(边界)[2691]   */
            Assert.isNull(queryDeptDetailComBorderReqDto.getDeptId(), "B3-6查询牵头部门详情(管理)-D1-3查询部门详情(公共)(边界)-部门ID不能为空", false);
            queryDeptDetailComBorderRespDto = fwBaseOrgClient.queryDeptDetailComBorder(queryDeptDetailComBorderReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryDeptDetailComBorderRespDto_1 = queryDeptDetailComBorderRespDto;
        }

        BffQueryLeadDeptDetailRespDto retData = new BffQueryLeadDeptDetailRespDto();
        if (queryVirtualOrgMemberDeptDetailRespDto_1 != null) {
            retData.setVirtualOrgMemberDeptId(queryVirtualOrgMemberDeptDetailRespDto_1.getVirtualOrgMemberDeptId());//SimpleFieldAssign//sourceId:80956_1
            retData.setDeptId(queryVirtualOrgMemberDeptDetailRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:885731_1
        }
        if (queryDeptDetailComBorderRespDto_1 != null) {
            retData.setDeptShortName(queryDeptDetailComBorderRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:885732_1
            retData.setTypeDictionaryId(queryDeptDetailComBorderRespDto_1.getTypeDictionaryId());//SimpleFieldAssign//sourceId:885733_1
        }


        return retData;
    }

    /**
     * B3-6存档工作组成员(管理)[4002]
     * gen by moon at 10/6/2022, 2:01:40 AM
     */
    @Trace(operationName = "B3-6存档工作组成员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffArchiveWorkGroupRespDto archiveWorkGroup(BffArchiveWorkGroupReqDto reqDto) {


        //步骤0: D3-6存档工作组成员 - archiveWorkGroup
        ArchiveWorkGroupRespDto archiveWorkGroupRespDto = null;
        ArchiveWorkGroupReqDto archiveWorkGroupReqDto = new ArchiveWorkGroupReqDto();
        if (reqDto != null) {
            archiveWorkGroupReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:208928_1
            archiveWorkGroupReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:208930_1
            archiveWorkGroupReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:208927_1
            archiveWorkGroupReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:208929_1
        }

        /*D3-6存档工作组成员[4000]   */
        Assert.isNull(archiveWorkGroupReqDto.getEvaluationTemplateId(), "B3-6存档工作组成员(管理)-D3-6存档工作组成员-冗余评价模板ID不能为空", false);
        Assert.isNull(archiveWorkGroupReqDto.getTargetId(), "B3-6存档工作组成员(管理)-D3-6存档工作组成员-冗余目标ID不能为空", false);
        Assert.isNull(archiveWorkGroupReqDto.getVirtualOrgMemberId(), "B3-6存档工作组成员(管理)-D3-6存档工作组成员-虚拟组织成员ID不能为空", false);
        Assert.isNull(archiveWorkGroupReqDto.getUserId(), "B3-6存档工作组成员(管理)-D3-6存档工作组成员-账号不能为空", false);
        archiveWorkGroupRespDto = fwAppVirtualOrgClient.archiveWorkGroup(archiveWorkGroupReqDto).getData();


        BffArchiveWorkGroupRespDto retData = new BffArchiveWorkGroupRespDto();


        return retData;
    }

    /**
     * B3-6设置目标分类牵头部门(管理)[2602]
     * gen by moon at 1/12/2023, 10:58:30 PM
     */
    @Trace(operationName = "B3-6设置目标分类牵头部门(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetTargetCatLeadDeptRespDto setTargetCatLeadDept(BffSetTargetCatLeadDeptReqDto reqDto) {


        SetTargetCatLeadDeptComRespDto setTargetCatLeadDeptComRespDto_1 = null;
//步骤0: D3-6设置目标分类牵头部门(公共) - setTargetCatLeadDeptCom
        SetTargetCatLeadDeptComRespDto setTargetCatLeadDeptComRespDto = null;
        SetTargetCatLeadDeptComReqDto setTargetCatLeadDeptComReqDto = new SetTargetCatLeadDeptComReqDto();
        if (reqDto != null) {
            setTargetCatLeadDeptComReqDto.setDeptId(reqDto.getDeptId());//SimpleFieldAssign//sourceId:161509_1
            setTargetCatLeadDeptComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:161506_1
            setTargetCatLeadDeptComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:413893_1
            setTargetCatLeadDeptComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:329949_1
            setTargetCatLeadDeptComReqDto.setBatchCode(reqDto.getBatchCode());//SimpleFieldAssign//sourceId:161510_1
        }

        /*D3-6设置目标分类牵头部门(公共)[2603]   */
        Assert.isNull(setTargetCatLeadDeptComReqDto.getDeptId(), "B3-6设置目标分类牵头部门(管理)-D3-6设置目标分类牵头部门(公共)-虚拟组织下部门ID不能为空", false);
        Assert.isNull(setTargetCatLeadDeptComReqDto.getEntityId(), "B3-6设置目标分类牵头部门(管理)-D3-6设置目标分类牵头部门(公共)-本级目标分类ID不能为空", false);
        Assert.isNull(setTargetCatLeadDeptComReqDto.getTargetId(), "B3-6设置目标分类牵头部门(管理)-D3-6设置目标分类牵头部门(公共)-目标ID不能为空", false);
        Assert.isNull(setTargetCatLeadDeptComReqDto.getEvaluationTemplateId(), "B3-6设置目标分类牵头部门(管理)-D3-6设置目标分类牵头部门(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(setTargetCatLeadDeptComReqDto.getBatchCode(), "B3-6设置目标分类牵头部门(管理)-D3-6设置目标分类牵头部门(公共)-批次标识不能为空", false);
        setTargetCatLeadDeptComRespDto = fwAppVirtualOrgClient.setTargetCatLeadDeptCom(setTargetCatLeadDeptComReqDto).getData();


        setTargetCatLeadDeptComRespDto_1 = setTargetCatLeadDeptComRespDto;

        BffSetTargetCatLeadDeptRespDto retData = new BffSetTargetCatLeadDeptRespDto();
        if (setTargetCatLeadDeptComRespDto_1 != null) {
            retData.setVirtualOrgMemberDeptId(setTargetCatLeadDeptComRespDto_1.getVirtualOrgMemberDeptId());//SimpleFieldAssign//sourceId:80422_1
        }


        return retData;
    }

    /**
     * B3-6查询目标责任主体及负责人等详情(管理)[5370]
     * gen by moon at 12/2/2022, 8:16:01 PM
     */
    @Trace(operationName = "B3-6查询目标责任主体及负责人等详情(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryTargetBodyAndPrincipalEtcDetailRespDto queryTargetBodyAndPrincipalEtcDetail(BffQueryTargetBodyAndPrincipalEtcDetailReqDto reqDto) {


        QueryTargetBodyAndPrincipalEtcDetailRespDto queryTargetBodyAndPrincipalEtcDetailRespDto_1 = null;
//步骤0: D3-6查询目标责任主体及负责人等详情 - queryTargetBodyAndPrincipalEtcDetail
        QueryTargetBodyAndPrincipalEtcDetailRespDto queryTargetBodyAndPrincipalEtcDetailRespDto = null;
        QueryTargetBodyAndPrincipalEtcDetailReqDto queryTargetBodyAndPrincipalEtcDetailReqDto = new QueryTargetBodyAndPrincipalEtcDetailReqDto();
        if (reqDto != null) {
            queryTargetBodyAndPrincipalEtcDetailReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:481217_1
        }

        /*D3-6查询目标责任主体及负责人等详情[5371]   */
        Assert.isNull(queryTargetBodyAndPrincipalEtcDetailReqDto.getEvaluationTemplateId(), "B3-6查询目标责任主体及负责人等详情(管理)-D3-6查询目标责任主体及负责人等详情-评价模板ID不能为空", false);
        queryTargetBodyAndPrincipalEtcDetailRespDto = fwAppVirtualOrgClient.queryTargetBodyAndPrincipalEtcDetail(queryTargetBodyAndPrincipalEtcDetailReqDto).getData();


        queryTargetBodyAndPrincipalEtcDetailRespDto_1 = queryTargetBodyAndPrincipalEtcDetailRespDto;

        BffQueryTargetBodyAndPrincipalEtcDetailRespDto retData = new BffQueryTargetBodyAndPrincipalEtcDetailRespDto();
        if (queryTargetBodyAndPrincipalEtcDetailRespDto_1 != null) {
            retData.setTargetId(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getTargetId());//SimpleFieldAssign//sourceId:481228_1
            retData.setEvaluationTempShortName(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getEvaluationTempShortName());//SimpleFieldAssign//sourceId:481229_1
            retData.setDeptId(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getDeptId());//SimpleFieldAssign//sourceId:481230_1
            retData.setDeptShortName(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getDeptShortName());//SimpleFieldAssign//sourceId:481231_1
            retData.setVirtualOrgInductionRecordId(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:481232_1
            retData.setUserId(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getUserId());//SimpleFieldAssign//sourceId:481233_1
            retData.setIdCardName(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:481234_1
            retData.setNickName(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getNickName());//SimpleFieldAssign//sourceId:481235_1
            retData.setUserFace(queryTargetBodyAndPrincipalEtcDetailRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:481236_1
        }


        return retData;
    }

    /**
     * B3批量排序虚拟组织成员(管理)[7313]
     * gen by moon at 7/30/2023, 11:25:42 PM
     */
    @Trace(operationName = "B3批量排序虚拟组织成员(管理)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffBatchUpdateVirtualOrgMemberSortRespDto batchUpdateVirtualOrgMemberSort(BffBatchUpdateVirtualOrgMemberSortReqDto reqDto) {


        //步骤0: D3批量排序虚拟组织成员 - batchUpdateVirtualOrgMemberSort
        BatchUpdateVirtualOrgMemberSortRespDto batchUpdateVirtualOrgMemberSortRespDto = null;
        BatchUpdateVirtualOrgMemberSortReqDto batchUpdateVirtualOrgMemberSortReqDto = new BatchUpdateVirtualOrgMemberSortReqDto();
        if (reqDto != null && reqDto.getVirtualOrgMemberList() != null && !CollectionUtil.isEmpty(reqDto.getVirtualOrgMemberList())) {
            batchUpdateVirtualOrgMemberSortReqDto.setVirtualOrgMemberList(reqDto.getVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, VirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1093100_1
        }

        /*D3批量排序虚拟组织成员[7312]   */

        batchUpdateVirtualOrgMemberSortRespDto = fwAppVirtualOrgClient.batchUpdateVirtualOrgMemberSort(batchUpdateVirtualOrgMemberSortReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffBatchUpdateVirtualOrgMemberSortRespDto retData = new BffBatchUpdateVirtualOrgMemberSortRespDto();


        return retData;
    }

    /**
     * B3查询圈子成员列表[7314]
     * gen by moon at 8/11/2023, 4:40:56 PM
     */
    @Trace(operationName = "B3查询圈子成员列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryCoterieMemberListRespDto queryCoterieMemberList(BffQueryCoterieMemberListReqDto reqDto) {


        QueryCoterieMemberListRespDto queryCoterieMemberListRespDto_1 = null;
        BatchQueryUserinfoRespDto batchQueryUserinfoRespDto_1 = null;
//virtualUsage D3查询圈子成员列表  47836
        QueryCoterieMemberListRespDto queryCoterieMemberListRespDto = null;
        QueryCoterieMemberListReqDto queryCoterieMemberListReqDto = new QueryCoterieMemberListReqDto();
        if (reqDto != null) {
            queryCoterieMemberListReqDto.setVirtualOrgId(reqDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1093132_1_47836
            queryCoterieMemberListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1093133_1_47836
        }

        /*D3查询圈子成员列表[7315]   */
        Assert.isNull(queryCoterieMemberListReqDto.getVirtualOrgId(), "B3查询圈子成员列表-D3查询圈子成员列表-虚拟组织ID不能为空", false);
        Assert.isNull(queryCoterieMemberListReqDto.getEntityId(), "B3查询圈子成员列表-D3查询圈子成员列表-冗余内容表主键ID不能为空", false);
        queryCoterieMemberListRespDto = fwAppVirtualOrgClient.queryCoterieMemberList(queryCoterieMemberListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryCoterieMemberListRespDto_1 = queryCoterieMemberListRespDto;
        if ((queryCoterieMemberListRespDto != null && queryCoterieMemberListRespDto.getCoterieMemberList() != null && queryCoterieMemberListRespDto.getCoterieMemberList().size() > 0)) {
            //if(D3查询圈子成员列表.圈子成员列表数据集条数 大于 0)  47837

            BatchQueryUserinfoRespDto batchQueryUserinfoRespDto = null;
            if (queryCoterieMemberListRespDto != null) {
                BatchQueryUserinfoReqDto batchQueryUserinfoReqDto = new BatchQueryUserinfoReqDto();
                if (queryCoterieMemberListRespDto != null && queryCoterieMemberListRespDto.getCoterieMemberList() != null && !CollectionUtil.isEmpty(queryCoterieMemberListRespDto.getCoterieMemberList())) {
                    batchQueryUserinfoReqDto.setUserinfoList(queryCoterieMemberListRespDto.getCoterieMemberList().stream().map(item -> item.getUserId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1093135_1_47838
                }

                /*D1-2批量查询个人资料列表[1020]   */

                batchQueryUserinfoRespDto = fwBaseNullClient.batchQueryUserinfo(batchQueryUserinfoReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                batchQueryUserinfoRespDto_1 = batchQueryUserinfoRespDto;
            }
        }
        BffQueryCoterieMemberListRespDto retData = new BffQueryCoterieMemberListRespDto();
        //数据集融合  MoreListToOneSource
        if (queryCoterieMemberListRespDto_1 != null && !CollectionUtil.isEmpty(queryCoterieMemberListRespDto_1.getCoterieMemberList())) {
            for (CoterieMemberDto coterieMemberDto : queryCoterieMemberListRespDto_1.getCoterieMemberList()) {
                BffCoterieMemberDto retElm = new BffCoterieMemberDto();
                if (queryCoterieMemberListRespDto_1 != null) {
                    retElm.setVirtualOrgMemberId(coterieMemberDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:232527_2
                    retElm.setVirtualOrgInductionRecordId(coterieMemberDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:229696_2
                    retElm.setOriginalRoleMemberId(coterieMemberDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:229697_2
                    retElm.setUserId(coterieMemberDto.getUserId());//SimpleFieldAssign//sourceId:229698_2
                    retElm.setVirtualOrganizationPosition(coterieMemberDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:229699_2
                    retElm.setRoleCode(coterieMemberDto.getRoleCode());//SimpleFieldAssign//sourceId:229700_2
                    retElm.setIsAdmin(coterieMemberDto.getIsAdmin());//SimpleFieldAssign//sourceId:229701_2
                    retElm.setIsPersonCharge(coterieMemberDto.getIsPersonCharge());//SimpleFieldAssign//sourceId:229702_2
                }
                retData.getCoterieMemberList().add(retElm);
                if (batchQueryUserinfoRespDto_1 != null) {
                    for (UserInfoDto userInfoDto : batchQueryUserinfoRespDto_1.getUserInfoList()) {
                        if (userInfoDto.getUserId().equals(coterieMemberDto.getUserId())) {
                            if (batchQueryUserinfoRespDto_1 != null) {
                                retElm.setUserFace(userInfoDto.getUserFace());//SimpleFieldAssign//sourceId:229703_2
                                retElm.setIdCardName(userInfoDto.getIdCardName());//SimpleFieldAssign//sourceId:229704_2
                                retElm.setNickName(userInfoDto.getNickName());//SimpleFieldAssign//sourceId:229705_2
                            }
                        }
                    }
                }

            }
        }//sourceId:1093140_1


        return retData;
    }

    /**
     * B3新增工作内容参与者或干系人[7834]
     * gen by moon at 1/26/2024, 5:09:25 PM
     */
    @Trace(operationName = "B3新增工作内容参与者或干系人")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAddWorkContentParticipantRespDto addWorkContentParticipant(BffAddWorkContentParticipantReqDto reqDto) {


        AddWorkContentVirtualMemberComRespDto addWorkContentVirtualMemberComRespDto_3 = null;
//virtualUsage D1查询就职的部门详情(公共)  56599
        QueryInductionDeptDetailComRespDto queryInductionDeptDetailComRespDto = null;
        QueryInductionDeptDetailComReqDto queryInductionDeptDetailComReqDto = new QueryInductionDeptDetailComReqDto();
        queryInductionDeptDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1400547_1_56599
        if (reqDto != null) {
            queryInductionDeptDetailComReqDto.setInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1400546_1_56599
        }

        /*D1查询就职的部门详情(公共)[7829]   */
        Assert.isNull(queryInductionDeptDetailComReqDto.getInductionRecordId(), "B3新增工作内容参与者或干系人-D1查询就职的部门详情(公共)-就职记录ID不能为空", false);
        Assert.isNull(queryInductionDeptDetailComReqDto.getSpaceId(), "B3新增工作内容参与者或干系人-D1查询就职的部门详情(公共)-创建于空间ID不能为空", false);
        queryInductionDeptDetailComRespDto = fwBaseInductionRecordClient.queryInductionDeptDetailCom(queryInductionDeptDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3查当前人是否在小圈子存在  54922
        QueryVirtualOrgMemberDetailComRespDto queryVirtualOrgMemberDetailComRespDto = null;
        if (queryInductionDeptDetailComRespDto != null) {
            QueryVirtualOrgMemberDetailComReqDto queryVirtualOrgMemberDetailComReqDto = new QueryVirtualOrgMemberDetailComReqDto();
            queryVirtualOrgMemberDetailComReqDto.setIsArchive("FALSE");//sourceId:1362854_1_54922
            if (queryInductionDeptDetailComRespDto != null) {
                queryVirtualOrgMemberDetailComReqDto.setOriginalRoleMemberId(queryInductionDeptDetailComRespDto.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1412775_1_54922
            }
            if (reqDto != null) {
                queryVirtualOrgMemberDetailComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1362853_1_54922
            }

            /*D3查当前人是否在小圈子存在[5937]   */
            Assert.isNull(queryVirtualOrgMemberDetailComReqDto.getOriginalRoleMemberId(), "B3新增工作内容参与者或干系人-D3查当前人是否在小圈子存在-身份人员ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberDetailComReqDto.getEntityId(), "B3新增工作内容参与者或干系人-D3查当前人是否在小圈子存在-冗余内容表主键ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberDetailComReqDto.getIsArchive(), "B3新增工作内容参与者或干系人-D3查当前人是否在小圈子存在-是否存档不能为空", false);
            queryVirtualOrgMemberDetailComRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetailCom(queryVirtualOrgMemberDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        if ((queryVirtualOrgMemberDetailComRespDto != null && queryVirtualOrgMemberDetailComRespDto.getVirtualOrgMemberId() == null)) {
            //if(D3查当前人是否在小圈子存在.虚拟组织成员ID 值等于空 )  54920

            ObtainWorkContentComRespDto obtainWorkContentComRespDto = null;
            ObtainWorkContentComReqDto obtainWorkContentComReqDto = new ObtainWorkContentComReqDto();
            if (reqDto != null) {
                obtainWorkContentComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1323330_1_54924
                obtainWorkContentComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1323331_1_54924
            }

            /*D3获取当前工作内容生命周期状态(用于新增参与者入参)[7954]   */
            Assert.isNull(obtainWorkContentComReqDto.getTableTypeCode(), "B3新增工作内容参与者或干系人-D3获取当前工作内容生命周期状态(用于新增参与者入参)-内容表类型编码不能为空", false);
            Assert.isNull(obtainWorkContentComReqDto.getEntityId(), "B3新增工作内容参与者或干系人-D3获取当前工作内容生命周期状态(用于新增参与者入参)-内容表主键ID不能为空", false);
            obtainWorkContentComRespDto = fwAppWorkTasksClient.obtainWorkContentCom(obtainWorkContentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            ImplementTableTypeMutualWorkTaskTypeComRespDto implementTableTypeMutualWorkTaskTypeComRespDto = null;
            ImplementTableTypeMutualWorkTaskTypeComReqDto implementTableTypeMutualWorkTaskTypeComReqDto = new ImplementTableTypeMutualWorkTaskTypeComReqDto();
            if (reqDto != null) {
                implementTableTypeMutualWorkTaskTypeComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1391846_1_56189
            }

            /*D3-执行表类型转工作任务对象类型(公共)[7980]   */
            Assert.isNull(implementTableTypeMutualWorkTaskTypeComReqDto.getTableTypeCode(), "B3新增工作内容参与者或干系人-D3-执行表类型转工作任务对象类型(公共)-内容表类型编码不能为空", false);
            implementTableTypeMutualWorkTaskTypeComRespDto = fwAppWorkTasksClient.implementTableTypeMutualWorkTaskTypeCom(implementTableTypeMutualWorkTaskTypeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            if ((reqDto != null && reqDto.getTableTypeCode() != null && reqDto.getTableTypeCode().equals("OMS_TASK"))) {
                //if(B3新增工作内容参与者或干系人.冗余内容表类型编码 等于 任务表)  54926

                AddWorkContentVirtualMemberComRespDto addWorkContentVirtualMemberComRespDto = null;
                if (queryInductionDeptDetailComRespDto != null && obtainWorkContentComRespDto != null) {
                    AddWorkContentVirtualMemberComReqDto addWorkContentVirtualMemberComReqDto = new AddWorkContentVirtualMemberComReqDto();
                    addWorkContentVirtualMemberComReqDto.setRoleCode("PARTICIPANTS");//CUSTOM_CONVENTION//sourceId:1362914_1_54930
                    addWorkContentVirtualMemberComReqDto.setVirtualOrganizationPosition("参与者");//CUSTOM_CONVENTION//sourceId:1362915_1_54930
                    addWorkContentVirtualMemberComReqDto.setSubjectChangeType("ADD_PARTICIPANT");//CUSTOM_CONVENTION//sourceId:1362917_1_54930
                    addWorkContentVirtualMemberComReqDto.setOrderNumber(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:1414864_1_54930
                    if (reqDto != null) {
                        addWorkContentVirtualMemberComReqDto.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1362910_1_54930
                        addWorkContentVirtualMemberComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1362911_1_54930
                        addWorkContentVirtualMemberComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1362912_1_54930
                    }
                    if (queryInductionDeptDetailComRespDto != null) {
                        addWorkContentVirtualMemberComReqDto.setEvaluationTemplateId(queryInductionDeptDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1509548_1_54930
                    }
                    if (obtainWorkContentComRespDto != null) {
                        addWorkContentVirtualMemberComReqDto.setSubjectLifeCycle(obtainWorkContentComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1362913_1_54930
                    }

                    /*D3新增工作内容参与者[7832]   */
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getVirtualOrgInductionRecordId(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-虚拟组织成员就职记录ID不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getRoleCode(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-角色标识不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getVirtualOrganizationPosition(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-组内职务名称不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getTableTypeCode(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-冗余内容表类型编码不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getEntityId(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-冗余内容表主键ID不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getEvaluationTemplateId(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-归属对象ID不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getSubjectChangeType(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-主体变更日志类型不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getSubjectLifeCycle(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-主体生命周期不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto.getOrderNumber(), "B3新增工作内容参与者或干系人-D3新增工作内容参与者-排序不能为空", false);
                    addWorkContentVirtualMemberComRespDto = fwAppVirtualOrgClient.addWorkContentVirtualMemberCom(addWorkContentVirtualMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
                ImplementRefreshWokrContRelevantPeopleNumComRespDto implementRefreshWokrContRelevantPeopleNumComRespDto = null;
                ImplementRefreshWokrContRelevantPeopleNumComReqDto implementRefreshWokrContRelevantPeopleNumComReqDto = new ImplementRefreshWokrContRelevantPeopleNumComReqDto();
                if (reqDto != null) {
                    implementRefreshWokrContRelevantPeopleNumComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1282373_1_54931
                    implementRefreshWokrContRelevantPeopleNumComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1282374_1_54931
                }

                /*D3更新工作内容相关人数量(公共)[7867]   */
                Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto.getTableTypeCode(), "B3新增工作内容参与者或干系人-D3更新工作内容相关人数量(公共)-内容表类型编码不能为空", false);
                Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto.getEntityId(), "B3新增工作内容参与者或干系人-D3更新工作内容相关人数量(公共)-内容表主键ID不能为空", false);
                implementRefreshWokrContRelevantPeopleNumComRespDto = fwAppWorkTasksClient.implementRefreshWokrContRelevantPeopleNumCom(implementRefreshWokrContRelevantPeopleNumComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                ImplementUpdateWorkTaskRelatedMsgLocAccComRespDto implementUpdateWorkTaskRelatedMsgLocAccComRespDto = null;
                if (implementTableTypeMutualWorkTaskTypeComRespDto != null) {
                    ImplementUpdateWorkTaskRelatedMsgLocAccComReqDto implementUpdateWorkTaskRelatedMsgLocAccComReqDto = new ImplementUpdateWorkTaskRelatedMsgLocAccComReqDto();
                    implementUpdateWorkTaskRelatedMsgLocAccComReqDto.setSceneOfUpdateStatus("SCENE_OF_WORK_TASK");//sourceId:1391836_1_56190
                    implementUpdateWorkTaskRelatedMsgLocAccComReqDto.setMsgLocQtyOptType("ADD_ONE");//sourceId:1391839_1_56190
                    if (implementTableTypeMutualWorkTaskTypeComRespDto != null) {
                        implementUpdateWorkTaskRelatedMsgLocAccComReqDto.setWorkTaskObjectType(implementTableTypeMutualWorkTaskTypeComRespDto.getWorkTaskObjectType());//SimpleFieldAssign//sourceId:1391837_1_56190
                    }
                    if (reqDto != null) {
                        implementUpdateWorkTaskRelatedMsgLocAccComReqDto.setWorkTaskObjectId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1391838_1_56190
                        implementUpdateWorkTaskRelatedMsgLocAccComReqDto.setInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1391840_1_56190
                    }

                    /*D3-更新工作任务相关人消息位置账户(公共)[8061]   */
                    Assert.isNull(implementUpdateWorkTaskRelatedMsgLocAccComReqDto.getSceneOfUpdateStatus(), "B3新增工作内容参与者或干系人-D3-更新工作任务相关人消息位置账户(公共)-状态更新使用场景不能为空", false);
                    Assert.isNull(implementUpdateWorkTaskRelatedMsgLocAccComReqDto.getMsgLocQtyOptType(), "B3新增工作内容参与者或干系人-D3-更新工作任务相关人消息位置账户(公共)-消息位置数量操作类型不能为空", false);
                    Assert.isNull(implementUpdateWorkTaskRelatedMsgLocAccComReqDto.getWorkTaskObjectType(), "B3新增工作内容参与者或干系人-D3-更新工作任务相关人消息位置账户(公共)-工作任务对象类型不能为空", false);
                    Assert.isNull(implementUpdateWorkTaskRelatedMsgLocAccComReqDto.getWorkTaskObjectId(), "B3新增工作内容参与者或干系人-D3-更新工作任务相关人消息位置账户(公共)-工作任务对象ID不能为空", false);
                    Assert.isNull(implementUpdateWorkTaskRelatedMsgLocAccComReqDto.getInductionRecordId(), "B3新增工作内容参与者或干系人-D3-更新工作任务相关人消息位置账户(公共)-就职记录ID不能为空", false);
                    implementUpdateWorkTaskRelatedMsgLocAccComRespDto = fwAppMessageClient.implementUpdateWorkTaskRelatedMsgLocAccCom(implementUpdateWorkTaskRelatedMsgLocAccComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                }
            } else if ((reqDto != null && reqDto.getTableTypeCode() != null && reqDto.getTableTypeCode().equals("OMS_QUESTION"))) {
                //elseif(B3新增工作内容干系人.冗余内容表类型编码 等于 问题表)  54927

                AddWorkContentVirtualMemberComRespDto addWorkContentVirtualMemberComRespDto_2 = null;
                if (queryInductionDeptDetailComRespDto != null && obtainWorkContentComRespDto != null) {
                    AddWorkContentVirtualMemberComReqDto addWorkContentVirtualMemberComReqDto_1 = new AddWorkContentVirtualMemberComReqDto();
                    addWorkContentVirtualMemberComReqDto_1.setRoleCode("STAKEHOLDER");//CUSTOM_CONVENTION//sourceId:1272514_1_54928
                    addWorkContentVirtualMemberComReqDto_1.setVirtualOrganizationPosition("干系人");//CUSTOM_CONVENTION//sourceId:1272515_1_54928
                    addWorkContentVirtualMemberComReqDto_1.setSubjectChangeType("ADD_STAKEHOLDER");//CUSTOM_CONVENTION//sourceId:1272517_1_54928
                    addWorkContentVirtualMemberComReqDto_1.setOrderNumber(Long.valueOf(3));//CUSTOM_CONVENTION//sourceId:1414865_1_54928
                    if (reqDto != null) {
                        addWorkContentVirtualMemberComReqDto_1.setVirtualOrgInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1272510_1_54928
                        addWorkContentVirtualMemberComReqDto_1.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1272511_1_54928
                        addWorkContentVirtualMemberComReqDto_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1272512_1_54928
                    }
                    if (queryInductionDeptDetailComRespDto != null) {
                        addWorkContentVirtualMemberComReqDto_1.setEvaluationTemplateId(queryInductionDeptDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1323347_1_54928
                    }
                    if (obtainWorkContentComRespDto != null) {
                        addWorkContentVirtualMemberComReqDto_1.setSubjectLifeCycle(obtainWorkContentComRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1272513_1_54928
                    }

                    /*D3新增问题干系人[7832]   */
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getVirtualOrgInductionRecordId(), "B3新增工作内容参与者或干系人-D3新增问题干系人-虚拟组织成员就职记录ID不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getRoleCode(), "B3新增工作内容参与者或干系人-D3新增问题干系人-角色标识不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getVirtualOrganizationPosition(), "B3新增工作内容参与者或干系人-D3新增问题干系人-组内职务名称不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getTableTypeCode(), "B3新增工作内容参与者或干系人-D3新增问题干系人-冗余内容表类型编码不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getEntityId(), "B3新增工作内容参与者或干系人-D3新增问题干系人-冗余内容表主键ID不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getEvaluationTemplateId(), "B3新增工作内容参与者或干系人-D3新增问题干系人-归属对象ID不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getSubjectChangeType(), "B3新增工作内容参与者或干系人-D3新增问题干系人-主体变更日志类型不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getSubjectLifeCycle(), "B3新增工作内容参与者或干系人-D3新增问题干系人-主体生命周期不能为空", false);
                    Assert.isNull(addWorkContentVirtualMemberComReqDto_1.getOrderNumber(), "B3新增工作内容参与者或干系人-D3新增问题干系人-排序不能为空", false);
                    addWorkContentVirtualMemberComRespDto_2 = fwAppVirtualOrgClient.addWorkContentVirtualMemberCom(addWorkContentVirtualMemberComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                    addWorkContentVirtualMemberComRespDto_3 = addWorkContentVirtualMemberComRespDto_2;
                }
                ImplementRefreshWokrContRelevantPeopleNumComRespDto implementRefreshWokrContRelevantPeopleNumComRespDto_1 = null;
                ImplementRefreshWokrContRelevantPeopleNumComReqDto implementRefreshWokrContRelevantPeopleNumComReqDto_1 = new ImplementRefreshWokrContRelevantPeopleNumComReqDto();
                if (reqDto != null) {
                    implementRefreshWokrContRelevantPeopleNumComReqDto_1.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1282373_1_54929
                    implementRefreshWokrContRelevantPeopleNumComReqDto_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1282374_1_54929
                }

                /*D3更新工作内容相关人数量(公共)[7867]   */
                Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto_1.getTableTypeCode(), "B3新增工作内容参与者或干系人-D3更新工作内容相关人数量(公共)-内容表类型编码不能为空", false);
                Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto_1.getEntityId(), "B3新增工作内容参与者或干系人-D3更新工作内容相关人数量(公共)-内容表主键ID不能为空", false);
                implementRefreshWokrContRelevantPeopleNumComRespDto_1 = fwAppWorkTasksClient.implementRefreshWokrContRelevantPeopleNumCom(implementRefreshWokrContRelevantPeopleNumComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


                ImplementUpdateProblemRelatedMsgLocAccComRespDto implementUpdateProblemRelatedMsgLocAccComRespDto = null;
                ImplementUpdateProblemRelatedMsgLocAccComReqDto implementUpdateProblemRelatedMsgLocAccComReqDto = new ImplementUpdateProblemRelatedMsgLocAccComReqDto();
                implementUpdateProblemRelatedMsgLocAccComReqDto.setSceneOfUpdateStatus("SCENE_OF_WORK_TASK");//sourceId:1391841_1_56191
                implementUpdateProblemRelatedMsgLocAccComReqDto.setMsgLocQtyOptType("ADD_ONE");//sourceId:1391844_1_56191
                implementUpdateProblemRelatedMsgLocAccComReqDto.setWorkTaskObjectType("PROBLEM");//sourceId:1391842_1_56191
                if (reqDto != null) {
                    implementUpdateProblemRelatedMsgLocAccComReqDto.setWorkTaskObjectId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1391843_1_56191
                    implementUpdateProblemRelatedMsgLocAccComReqDto.setInductionRecordId(reqDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1391845_1_56191
                }

                /*D3-更新问题相关人消息位置账户(公共)[8095]   */
                Assert.isNull(implementUpdateProblemRelatedMsgLocAccComReqDto.getSceneOfUpdateStatus(), "B3新增工作内容参与者或干系人-D3-更新问题相关人消息位置账户(公共)-状态更新使用场景不能为空", false);
                Assert.isNull(implementUpdateProblemRelatedMsgLocAccComReqDto.getMsgLocQtyOptType(), "B3新增工作内容参与者或干系人-D3-更新问题相关人消息位置账户(公共)-消息位置数量操作类型不能为空", false);
                Assert.isNull(implementUpdateProblemRelatedMsgLocAccComReqDto.getWorkTaskObjectType(), "B3新增工作内容参与者或干系人-D3-更新问题相关人消息位置账户(公共)-工作任务对象类型不能为空", false);
                Assert.isNull(implementUpdateProblemRelatedMsgLocAccComReqDto.getWorkTaskObjectId(), "B3新增工作内容参与者或干系人-D3-更新问题相关人消息位置账户(公共)-工作任务对象ID不能为空", false);
                Assert.isNull(implementUpdateProblemRelatedMsgLocAccComReqDto.getInductionRecordId(), "B3新增工作内容参与者或干系人-D3-更新问题相关人消息位置账户(公共)-就职记录ID不能为空", false);
                implementUpdateProblemRelatedMsgLocAccComRespDto = fwAppMessageClient.implementUpdateProblemRelatedMsgLocAccCom(implementUpdateProblemRelatedMsgLocAccComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            } else {
                //else  54936

//异常结束 54937
                throw new BizException("C00029", "对不起，异常错误，不可操作～！", false);
            }
        } else {
            //else  54934

//异常结束 54935
            throw new BizException("C00116", "对不起！已存在~！", false);
        }
        BffAddWorkContentParticipantRespDto retData = new BffAddWorkContentParticipantRespDto();
        if (addWorkContentVirtualMemberComRespDto_3 != null) {
            retData.setVirtualOrgMemberId(addWorkContentVirtualMemberComRespDto_3.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1272524_1
        }


        return retData;
    }

    /**
     * B3删除工作内容参与者[7839]
     * gen by moon at 11/17/2023, 12:49:27 PM
     */
    @Trace(operationName = "B3删除工作内容参与者")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffDeleteWorkContentParticipantRespDto deleteWorkContentParticipant(BffDeleteWorkContentParticipantReqDto reqDto) {


        //virtualUsage D3查虚拟组织成员  52755
        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto = null;
        QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto = new QueryVirtualOrgMemberDetailReqDto();
        if (reqDto != null) {
            queryVirtualOrgMemberDetailReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1282365_1_52755
            queryVirtualOrgMemberDetailReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1282343_1_52755
        }

        /*D3查虚拟组织成员[2632]   */
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getVirtualOrgMemberId(), "B3删除工作内容参与者-D3查虚拟组织成员-虚拟组织成员ID不能为空", false);
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getEntityId(), "B3删除工作内容参与者-D3查虚拟组织成员-冗余内容表主键ID不能为空", false);
        queryVirtualOrgMemberDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D1执行生命周期判断(公共)  52756
        ImplementLifeCycleJudgmentComRespDto implementLifeCycleJudgmentComRespDto = null;
        if (queryVirtualOrgMemberDetailRespDto != null) {
            ImplementLifeCycleJudgmentComReqDto implementLifeCycleJudgmentComReqDto = new ImplementLifeCycleJudgmentComReqDto();
            implementLifeCycleJudgmentComReqDto.setLifecyCycleOperationType("DELETE");//sourceId:1282369_1_52756
            if (queryVirtualOrgMemberDetailRespDto != null) {
                implementLifeCycleJudgmentComReqDto.setSubjectLifeCycle(queryVirtualOrgMemberDetailRespDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1282370_1_52756
            }

            /*D1执行生命周期判断(公共)[7830]   */
            Assert.isNull(implementLifeCycleJudgmentComReqDto.getSubjectLifeCycle(), "B3删除工作内容参与者-D1执行生命周期判断(公共)-主体生命周期不能为空", false);
            Assert.isNull(implementLifeCycleJudgmentComReqDto.getLifecyCycleOperationType(), "B3删除工作内容参与者-D1执行生命周期判断(公共)-生命周期操作类型不能为空", false);
            implementLifeCycleJudgmentComRespDto = fwBaseBatchClient.implementLifeCycleJudgmentCom(implementLifeCycleJudgmentComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D3删除工作内容参与者  52757
        DeleteWorkContentParticipantRespDto deleteWorkContentParticipantRespDto = null;
        DeleteWorkContentParticipantReqDto deleteWorkContentParticipantReqDto = new DeleteWorkContentParticipantReqDto();
        if (reqDto != null) {
            deleteWorkContentParticipantReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1274098_1_52757
        }

        /*D3删除工作内容参与者[7838]   */
        Assert.isNull(deleteWorkContentParticipantReqDto.getVirtualOrgMemberId(), "B3删除工作内容参与者-D3删除工作内容参与者-虚拟组织成员ID不能为空", false);
        deleteWorkContentParticipantRespDto = fwAppVirtualOrgClient.deleteWorkContentParticipant(deleteWorkContentParticipantReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3更新工作内容相关人数量(公共)  52758
        ImplementRefreshWokrContRelevantPeopleNumComRespDto implementRefreshWokrContRelevantPeopleNumComRespDto = null;
        if (queryVirtualOrgMemberDetailRespDto != null) {
            ImplementRefreshWokrContRelevantPeopleNumComReqDto implementRefreshWokrContRelevantPeopleNumComReqDto = new ImplementRefreshWokrContRelevantPeopleNumComReqDto();
            if (queryVirtualOrgMemberDetailRespDto != null) {
                implementRefreshWokrContRelevantPeopleNumComReqDto.setTableTypeCode(queryVirtualOrgMemberDetailRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1282338_1_52758
            }
            if (reqDto != null) {
                implementRefreshWokrContRelevantPeopleNumComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1282339_1_52758
            }

            /*D3更新工作内容相关人数量(公共)[7867]   */
            Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto.getTableTypeCode(), "B3删除工作内容参与者-D3更新工作内容相关人数量(公共)-内容表类型编码不能为空", false);
            Assert.isNull(implementRefreshWokrContRelevantPeopleNumComReqDto.getEntityId(), "B3删除工作内容参与者-D3更新工作内容相关人数量(公共)-内容表主键ID不能为空", false);
            implementRefreshWokrContRelevantPeopleNumComRespDto = fwAppWorkTasksClient.implementRefreshWokrContRelevantPeopleNumCom(implementRefreshWokrContRelevantPeopleNumComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        BffDeleteWorkContentParticipantRespDto retData = new BffDeleteWorkContentParticipantRespDto();


        return retData;
    }

    /**
     * B3设工作内容负责人与安排人[7871]
     * gen by moon at 12/7/2023, 3:31:40 AM
     */
    @Trace(operationName = "B3设工作内容负责人与安排人")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetWorkContentResponsibleReportObjectRespDto setWorkContentResponsibleReportObject(BffSetWorkContentResponsibleReportObjectReqDto reqDto) {


        SetWorkContentResponsibleReportObjectRespDto setWorkContentResponsibleReportObjectRespDto_1 = null;
//步骤0: D3设工作内容负责人与安排人 - setWorkContentResponsibleReportObject
        SetWorkContentResponsibleReportObjectRespDto setWorkContentResponsibleReportObjectRespDto = null;
        SetWorkContentResponsibleReportObjectReqDto setWorkContentResponsibleReportObjectReqDto = new SetWorkContentResponsibleReportObjectReqDto();
        if (reqDto != null) {
            setWorkContentResponsibleReportObjectReqDto.setPrincipalInductionRecordId(reqDto.getPrincipalInductionRecordId());//SimpleFieldAssign//sourceId:1387252_1
            setWorkContentResponsibleReportObjectReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1387254_1
            setWorkContentResponsibleReportObjectReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1387255_1
        }

        /*D3设工作内容负责人与安排人[8088]   */
        Assert.isNull(setWorkContentResponsibleReportObjectReqDto.getPrincipalInductionRecordId(), "B3设工作内容负责人与安排人-D3设工作内容负责人与安排人-负责人就职记录ID不能为空", false);
        Assert.isNull(setWorkContentResponsibleReportObjectReqDto.getTableTypeCode(), "B3设工作内容负责人与安排人-D3设工作内容负责人与安排人-内容表类型编码不能为空", false);
        Assert.isNull(setWorkContentResponsibleReportObjectReqDto.getEntityId(), "B3设工作内容负责人与安排人-D3设工作内容负责人与安排人-内容表主键ID不能为空", false);
        setWorkContentResponsibleReportObjectRespDto = fwAppVirtualOrgClient.setWorkContentResponsibleReportObject(setWorkContentResponsibleReportObjectReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        setWorkContentResponsibleReportObjectRespDto_1 = setWorkContentResponsibleReportObjectRespDto;

        BffSetWorkContentResponsibleReportObjectRespDto retData = new BffSetWorkContentResponsibleReportObjectRespDto();
        if (setWorkContentResponsibleReportObjectRespDto_1 != null) {
            retData.setPrincipalVirtualOrgMemberId(setWorkContentResponsibleReportObjectRespDto_1.getPrincipalVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1387433_1
        }


        return retData;
    }

    /**
     * B3设问题解决人[7841]
     * gen by moon at 11/15/2023, 9:05:58 PM
     */
    @Trace(operationName = "B3设问题解决人")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffSetQuestionSolverRespDto setQuestionSolver(BffSetQuestionSolverReqDto reqDto) {


        //步骤0: D3设问题解决人 - setQuestionSolver
        SetQuestionSolverRespDto setQuestionSolverRespDto = null;
        SetQuestionSolverReqDto setQuestionSolverReqDto = new SetQuestionSolverReqDto();
        if (reqDto != null) {
            setQuestionSolverReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1274123_1
            setQuestionSolverReqDto.setQuestionId(reqDto.getQuestionId());//SimpleFieldAssign//sourceId:1274342_1
//setQuestionSolverReqDto.setRemarks(reqDto.getRemarks());//SimpleFieldAssign//sourceId:1322044_1
        }

        /*D3设问题解决人[7840]   */
        Assert.isNull(setQuestionSolverReqDto.getVirtualOrgMemberId(), "B3设问题解决人-D3设问题解决人-虚拟组织成员ID不能为空", false);
        Assert.isNull(setQuestionSolverReqDto.getQuestionId(), "B3设问题解决人-D3设问题解决人-问题ID不能为空", false);
        setQuestionSolverRespDto = fwAppVirtualOrgClient.setQuestionSolver(setQuestionSolverReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffSetQuestionSolverRespDto retData = new BffSetQuestionSolverRespDto();


        return retData;
    }

    /**
     * B3获取工作内容负责人与汇报对象[7947]
     * gen by moon at 11/13/2023, 5:06:52 PM
     */
    @Trace(operationName = "B3获取工作内容负责人与汇报对象")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffObtainWorkContentResponsibleReportObjectRespDto obtainWorkContentResponsibleReportObject(BffObtainWorkContentResponsibleReportObjectReqDto reqDto) {


        ObtainWorkContentResponsibleReportObjectComRespDto obtainWorkContentResponsibleReportObjectComRespDto_1 = null;
//步骤0: D3获取工作内容负责人与汇报对象(公共) - obtainWorkContentResponsibleReportObjectCom
        ObtainWorkContentResponsibleReportObjectComRespDto obtainWorkContentResponsibleReportObjectComRespDto = null;
        ObtainWorkContentResponsibleReportObjectComReqDto obtainWorkContentResponsibleReportObjectComReqDto = new ObtainWorkContentResponsibleReportObjectComReqDto();
        if (reqDto != null) {
            obtainWorkContentResponsibleReportObjectComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1313053_1
        }

        /*D3获取工作内容负责人与汇报对象(公共)[7946]   */
        Assert.isNull(obtainWorkContentResponsibleReportObjectComReqDto.getEntityId(), "B3获取工作内容负责人与汇报对象-D3获取工作内容负责人与汇报对象(公共)-冗余内容表主键ID不能为空", false);
        obtainWorkContentResponsibleReportObjectComRespDto = fwAppVirtualOrgClient.obtainWorkContentResponsibleReportObjectCom(obtainWorkContentResponsibleReportObjectComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        obtainWorkContentResponsibleReportObjectComRespDto_1 = obtainWorkContentResponsibleReportObjectComRespDto;

        BffObtainWorkContentResponsibleReportObjectRespDto retData = new BffObtainWorkContentResponsibleReportObjectRespDto();
        if (obtainWorkContentResponsibleReportObjectComRespDto_1 != null) {
            retData.setPrincipalVirtualOrgMemberId(obtainWorkContentResponsibleReportObjectComRespDto_1.getPrincipalVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1313081_1
            retData.setPrincipalInductionRecordId(obtainWorkContentResponsibleReportObjectComRespDto_1.getPrincipalInductionRecordId());//SimpleFieldAssign//sourceId:1313065_1
            retData.setPrincipalOriginalRoleMemberId(obtainWorkContentResponsibleReportObjectComRespDto_1.getPrincipalOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1313066_1
            retData.setPrincipalUserId(obtainWorkContentResponsibleReportObjectComRespDto_1.getPrincipalUserId());//SimpleFieldAssign//sourceId:1313067_1
            retData.setPrincipalDeptId(obtainWorkContentResponsibleReportObjectComRespDto_1.getPrincipalDeptId());//SimpleFieldAssign//sourceId:1313068_1
            retData.setPrincipalDeptShortName(obtainWorkContentResponsibleReportObjectComRespDto_1.getPrincipalDeptShortName());//SimpleFieldAssign//sourceId:1313069_1
            retData.setReportObjectVirtualOrgMemberId(obtainWorkContentResponsibleReportObjectComRespDto_1.getReportObjectVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1313082_1
            retData.setReportObjectInductionRecordId(obtainWorkContentResponsibleReportObjectComRespDto_1.getReportObjectInductionRecordId());//SimpleFieldAssign//sourceId:1313070_1
            retData.setReportObjectOriginalRoleMemberId(obtainWorkContentResponsibleReportObjectComRespDto_1.getReportObjectOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1313071_1
            retData.setReportObjectUserId(obtainWorkContentResponsibleReportObjectComRespDto_1.getReportObjectUserId());//SimpleFieldAssign//sourceId:1313072_1
            retData.setReportObjectDeptId(obtainWorkContentResponsibleReportObjectComRespDto_1.getReportObjectDeptId());//SimpleFieldAssign//sourceId:1313073_1
            retData.setReportObjectDeptShortName(obtainWorkContentResponsibleReportObjectComRespDto_1.getReportObjectDeptShortName());//SimpleFieldAssign//sourceId:1313074_1
        }


        return retData;
    }

    /**
     * B3存档工作内容参与者或干系人[7835]
     * gen by moon at 12/10/2023, 4:14:01 PM
     */
    @Trace(operationName = "B3存档工作内容参与者或干系人")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffArchiveWorkContentParticipantRespDto archiveWorkContentParticipant(BffArchiveWorkContentParticipantReqDto reqDto) {


        //virtualUsage D3查虚拟组织成员（用于判断内容类型）  56323
        QueryVirtualOrgMemberDetailRespDto queryVirtualOrgMemberDetailRespDto = null;
        QueryVirtualOrgMemberDetailReqDto queryVirtualOrgMemberDetailReqDto = new QueryVirtualOrgMemberDetailReqDto();
        if (reqDto != null) {
            queryVirtualOrgMemberDetailReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1400949_1_56323
            queryVirtualOrgMemberDetailReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1400952_1_56323
        }

        /*D3查虚拟组织成员（用于判断内容类型）[2632]   */
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getVirtualOrgMemberId(), "B3存档工作内容参与者或干系人-D3查虚拟组织成员（用于判断内容类型）-虚拟组织成员ID不能为空", false);
        Assert.isNull(queryVirtualOrgMemberDetailReqDto.getEntityId(), "B3存档工作内容参与者或干系人-D3查虚拟组织成员（用于判断内容类型）-冗余内容表主键ID不能为空", false);
        queryVirtualOrgMemberDetailRespDto = fwAppVirtualOrgClient.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        if ((queryVirtualOrgMemberDetailRespDto != null && queryVirtualOrgMemberDetailRespDto.getTableTypeCode() != null && queryVirtualOrgMemberDetailRespDto.getTableTypeCode().equals("OMS_TASK") || queryVirtualOrgMemberDetailRespDto != null && queryVirtualOrgMemberDetailRespDto.getTableTypeCode() != null && queryVirtualOrgMemberDetailRespDto.getTableTypeCode().equals("OMS_PROJECT"))) {
            //if((D3查虚拟组织成员（用于判断内容类型）.冗余内容表类型编码 等于 任务表 or D3查虚拟组织成员（用于判断内容类型）.冗余内容表类型编码 等于 项目表))  56324

            ArchiveWorkContentParticipantRespDto archiveWorkContentParticipantRespDto = null;
            ArchiveWorkContentParticipantReqDto archiveWorkContentParticipantReqDto = new ArchiveWorkContentParticipantReqDto();
            archiveWorkContentParticipantReqDto.setRoleCode("PARTICIPANTS");//CUSTOM_CONVENTION//sourceId:1400977_1_56325
            archiveWorkContentParticipantReqDto.setSubjectChangeType("REMOVE_PARTICIPANT");//CUSTOM_CONVENTION//sourceId:1400978_1_56325
            if (reqDto != null) {
                archiveWorkContentParticipantReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1274504_1_56325
                archiveWorkContentParticipantReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1274503_1_56325
            }

            /*D3存档工作内容参与者或干系人[7836]   */
            Assert.isNull(archiveWorkContentParticipantReqDto.getEntityId(), "B3存档工作内容参与者或干系人-D3存档工作内容参与者或干系人-内容表主键ID不能为空", false);
            Assert.isNull(archiveWorkContentParticipantReqDto.getVirtualOrgMemberId(), "B3存档工作内容参与者或干系人-D3存档工作内容参与者或干系人-虚拟组织成员ID不能为空", false);
            Assert.isNull(archiveWorkContentParticipantReqDto.getRoleCode(), "B3存档工作内容参与者或干系人-D3存档工作内容参与者或干系人-角色标识不能为空", false);
            Assert.isNull(archiveWorkContentParticipantReqDto.getSubjectChangeType(), "B3存档工作内容参与者或干系人-D3存档工作内容参与者或干系人-主体变更日志类型不能为空", false);
            archiveWorkContentParticipantRespDto = fwAppVirtualOrgClient.archiveWorkContentParticipant(archiveWorkContentParticipantReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        } else if ((queryVirtualOrgMemberDetailRespDto != null && queryVirtualOrgMemberDetailRespDto.getTableTypeCode() != null && queryVirtualOrgMemberDetailRespDto.getTableTypeCode().equals("OMS_QUESTION"))) {
            //elseif(D3查虚拟组织成员（用于判断内容类型）.冗余内容表类型编码 等于 问题表)  56326

            ArchiveWorkContentParticipantRespDto archiveWorkContentParticipantRespDto_1 = null;
            ArchiveWorkContentParticipantReqDto archiveWorkContentParticipantReqDto_1 = new ArchiveWorkContentParticipantReqDto();
            archiveWorkContentParticipantReqDto_1.setRoleCode("STAKEHOLDER");//CUSTOM_CONVENTION//sourceId:1400981_1_56327
            archiveWorkContentParticipantReqDto_1.setSubjectChangeType("REMOVE_STAKEHOLDER");//CUSTOM_CONVENTION//sourceId:1400982_1_56327
            if (reqDto != null) {
                archiveWorkContentParticipantReqDto_1.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1400980_1_56327
                archiveWorkContentParticipantReqDto_1.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1400979_1_56327
            }

            /*D3存档问题干系人[7836]   */
            Assert.isNull(archiveWorkContentParticipantReqDto_1.getEntityId(), "B3存档工作内容参与者或干系人-D3存档问题干系人-内容表主键ID不能为空", false);
            Assert.isNull(archiveWorkContentParticipantReqDto_1.getVirtualOrgMemberId(), "B3存档工作内容参与者或干系人-D3存档问题干系人-虚拟组织成员ID不能为空", false);
            Assert.isNull(archiveWorkContentParticipantReqDto_1.getRoleCode(), "B3存档工作内容参与者或干系人-D3存档问题干系人-角色标识不能为空", false);
            Assert.isNull(archiveWorkContentParticipantReqDto_1.getSubjectChangeType(), "B3存档工作内容参与者或干系人-D3存档问题干系人-主体变更日志类型不能为空", false);
            archiveWorkContentParticipantRespDto_1 = fwAppVirtualOrgClient.archiveWorkContentParticipant(archiveWorkContentParticipantReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        BffArchiveWorkContentParticipantRespDto retData = new BffArchiveWorkContentParticipantRespDto();


        return retData;
    }

    /**
     * B3查工作内容虚拟成员列表[7844]
     * gen by moon at 11/16/2023, 11:56:33 PM
     */
    @Trace(operationName = "B3查工作内容虚拟成员列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkContentVirtualMemberListRespDto queryWorkContentVirtualMemberList(BffQueryWorkContentVirtualMemberListReqDto reqDto) {


        QueryWorkContentVirtualMemberListRespDto queryWorkContentVirtualMemberListRespDto_1 = null;
//步骤0: D3查工作内容虚拟成员列表 - queryWorkContentVirtualMemberList
        QueryWorkContentVirtualMemberListRespDto queryWorkContentVirtualMemberListRespDto = null;
        QueryWorkContentVirtualMemberListReqDto queryWorkContentVirtualMemberListReqDto = new QueryWorkContentVirtualMemberListReqDto();
        if (reqDto != null) {
            queryWorkContentVirtualMemberListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1274554_1
        }

        /*D3查工作内容虚拟成员列表[7843]   */
        Assert.isNull(queryWorkContentVirtualMemberListReqDto.getEntityId(), "B3查工作内容虚拟成员列表-D3查工作内容虚拟成员列表-冗余内容表主键ID不能为空", false);
        queryWorkContentVirtualMemberListRespDto = fwAppVirtualOrgClient.queryWorkContentVirtualMemberList(queryWorkContentVirtualMemberListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryWorkContentVirtualMemberListRespDto_1 = queryWorkContentVirtualMemberListRespDto;

        BffQueryWorkContentVirtualMemberListRespDto retData = new BffQueryWorkContentVirtualMemberListRespDto();
        if (queryWorkContentVirtualMemberListRespDto_1 != null) {
            retData.setWorkContentVirtualMemberList(queryWorkContentVirtualMemberListRespDto_1.getVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, BffWorkContentVirtualMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1274559_1
        }


        return retData;
    }

    /**
     * B3查工作内容干系人列表[8001]
     * gen by moon at 11/23/2023, 10:30:31 PM
     */
    @Trace(operationName = "B3查工作内容干系人列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryWorkContStakeholderListRespDto queryWorkContStakeholderList(BffQueryWorkContStakeholderListReqDto reqDto) {


        QueryWorkContStakeholderListRespDto queryWorkContStakeholderListRespDto_1 = null;
//步骤0: D3查询工作内容干系人列表 - queryWorkContStakeholderList
        QueryWorkContStakeholderListRespDto queryWorkContStakeholderListRespDto = null;
        QueryWorkContStakeholderListReqDto queryWorkContStakeholderListReqDto = new QueryWorkContStakeholderListReqDto();
        if (reqDto != null) {
            queryWorkContStakeholderListReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1349820_1
        }

        /*D3查询工作内容干系人列表[8000]   */
        Assert.isNull(queryWorkContStakeholderListReqDto.getEntityId(), "B3查工作内容干系人列表-D3查询工作内容干系人列表-冗余内容表主键ID不能为空", false);
        queryWorkContStakeholderListRespDto = fwAppVirtualOrgClient.queryWorkContStakeholderList(queryWorkContStakeholderListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryWorkContStakeholderListRespDto_1 = queryWorkContStakeholderListRespDto;

        BffQueryWorkContStakeholderListRespDto retData = new BffQueryWorkContStakeholderListRespDto();
        if (queryWorkContStakeholderListRespDto_1 != null) {
            retData.setVirtualOrgMemberList(queryWorkContStakeholderListRespDto_1.getWorkContStakeholderList().stream().map(item -> BeanUtil.toBean(item, BffVirtualOrgMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1349824_1
        }


        return retData;
    }

    /**
     * B3修改组内职务名称[8183]
     * gen by moon at 12/22/2023, 2:13:41 AM
     */
    @Trace(operationName = "B3修改组内职务名称")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffUpdateVirtualOrganizationPositionRespDto updateVirtualOrganizationPosition(BffUpdateVirtualOrganizationPositionReqDto reqDto) {


        //步骤0: D3修改组内职务名称 - updateVirtualOrganizationPosition
        UpdateVirtualOrganizationPositionRespDto updateVirtualOrganizationPositionRespDto = null;
        UpdateVirtualOrganizationPositionReqDto updateVirtualOrganizationPositionReqDto = new UpdateVirtualOrganizationPositionReqDto();
        if (reqDto != null) {
            updateVirtualOrganizationPositionReqDto.setVirtualOrgMemberId(reqDto.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1431625_1
            updateVirtualOrganizationPositionReqDto.setVirtualOrganizationPosition(reqDto.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:1431626_1
            updateVirtualOrganizationPositionReqDto.setVirtualOrganizationPositionDesc(reqDto.getVirtualOrganizationPositionDesc());//SimpleFieldAssign//sourceId:1431627_1
        }

        /*D3修改组内职务名称[8182]   */
        Assert.isNull(updateVirtualOrganizationPositionReqDto.getVirtualOrgMemberId(), "B3修改组内职务名称-D3修改组内职务名称-虚拟组织成员ID不能为空", false);
        updateVirtualOrganizationPositionRespDto = fwAppVirtualOrgClient.updateVirtualOrganizationPosition(updateVirtualOrganizationPositionReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        BffUpdateVirtualOrganizationPositionRespDto retData = new BffUpdateVirtualOrganizationPositionRespDto();


        return retData;
    }

    /**
     * B3分析工作内容当前身份人员小圈子[8312]
     * gen by moon at 1/19/2024, 3:22:24 PM
     */
    @Trace(operationName = "B3分析工作内容当前身份人员小圈子")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffAnalysisWrokTaskCurrentOrgRoleMemberCircleRespDto analysisWrokTaskCurrentOrgRoleMemberCircle(BffAnalysisWrokTaskCurrentOrgRoleMemberCircleReqDto reqDto) {


        AnalysisWrokTaskCurrentOrgRoleMemberCircleComRespDto analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto_1 = null;
//步骤0: D3分析工作内容当前身份人员小圈子(公共) - analysisWrokTaskCurrentOrgRoleMemberCircleCom
        AnalysisWrokTaskCurrentOrgRoleMemberCircleComRespDto analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto = null;
        AnalysisWrokTaskCurrentOrgRoleMemberCircleComReqDto analysisWrokTaskCurrentOrgRoleMemberCircleComReqDto = new AnalysisWrokTaskCurrentOrgRoleMemberCircleComReqDto();
        if (reqDto != null) {
            analysisWrokTaskCurrentOrgRoleMemberCircleComReqDto.setTableTypeCode(reqDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1491722_1
            analysisWrokTaskCurrentOrgRoleMemberCircleComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:1491723_1
        }

        /*D3分析工作内容当前身份人员小圈子(公共)[8302]   */
        Assert.isNull(analysisWrokTaskCurrentOrgRoleMemberCircleComReqDto.getTableTypeCode(), "B3分析工作内容当前身份人员小圈子-D3分析工作内容当前身份人员小圈子(公共)-冗余内容表类型编码不能为空", false);
        Assert.isNull(analysisWrokTaskCurrentOrgRoleMemberCircleComReqDto.getEntityId(), "B3分析工作内容当前身份人员小圈子-D3分析工作内容当前身份人员小圈子(公共)-冗余内容表主键ID不能为空", false);
        analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto = fwAppVirtualOrgClient.analysisWrokTaskCurrentOrgRoleMemberCircleCom(analysisWrokTaskCurrentOrgRoleMemberCircleComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto_1 = analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto;

        BffAnalysisWrokTaskCurrentOrgRoleMemberCircleRespDto retData = new BffAnalysisWrokTaskCurrentOrgRoleMemberCircleRespDto();
        if (analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto_1 != null) {
            retData.setTableTypeCode(analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto_1.getTableTypeCode());//SimpleFieldAssign//sourceId:1491730_1
            retData.setEntityId(analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto_1.getEntityId());//SimpleFieldAssign//sourceId:1491731_1
            retData.setThemeContentTypeCode(analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto_1.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1491732_1
            retData.setThemeContentId(analysisWrokTaskCurrentOrgRoleMemberCircleComRespDto_1.getThemeContentId());//SimpleFieldAssign//sourceId:1491733_1
        }


        return retData;
    }

    /**
     * B3时间切片查询内容负责人（汇报人）[10520]
     * gen by moon at 4/5/2025, 1:13:14 PM
     */
    @Trace(operationName = "B3时间切片查询内容负责人（汇报人）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Override
    public BffQueryByTimeSliceVirtualOrgMemberRespDto queryByTimeSliceVirtualOrgMember(BffQueryByTimeSliceVirtualOrgMemberReqDto reqDto) {


        QueryByTimeSliceVirtualOrgMemberComRespDto queryByTimeSliceVirtualOrgMemberComRespDto_1 = null;
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto_1 = null;
//步骤0: D3时间切片查询虚拟组织成员详情(公共) - queryByTimeSliceVirtualOrgMemberCom
        QueryByTimeSliceVirtualOrgMemberComRespDto queryByTimeSliceVirtualOrgMemberComRespDto = null;
        QueryByTimeSliceVirtualOrgMemberComReqDto queryByTimeSliceVirtualOrgMemberComReqDto = new QueryByTimeSliceVirtualOrgMemberComReqDto();
        queryByTimeSliceVirtualOrgMemberComReqDto.setIsPersonCharge("TRUE");//sourceId:2044363_1
        if (reqDto != null) {
            queryByTimeSliceVirtualOrgMemberComReqDto.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:2044353_1
            queryByTimeSliceVirtualOrgMemberComReqDto.setInductionEndTime(reqDto.getInductionEndTime());//SimpleFieldAssign//sourceId:2044354_1
        }

        /*D3时间切片查询虚拟组织成员详情(公共)[10519]   */
        Assert.isNull(queryByTimeSliceVirtualOrgMemberComReqDto.getEntityId(), "B3时间切片查询内容负责人（汇报人）-D3时间切片查询虚拟组织成员详情(公共)-冗余内容表主键ID不能为空", false);
        Assert.isNull(queryByTimeSliceVirtualOrgMemberComReqDto.getInductionEndTime(), "B3时间切片查询内容负责人（汇报人）-D3时间切片查询虚拟组织成员详情(公共)-就职结束时间不能为空", false);
        Assert.isNull(queryByTimeSliceVirtualOrgMemberComReqDto.getIsPersonCharge(), "B3时间切片查询内容负责人（汇报人）-D3时间切片查询虚拟组织成员详情(公共)-是否负责人不能为空", false);
        queryByTimeSliceVirtualOrgMemberComRespDto = fwAppVirtualOrgClient.queryByTimeSliceVirtualOrgMemberCom(queryByTimeSliceVirtualOrgMemberComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        queryByTimeSliceVirtualOrgMemberComRespDto_1 = queryByTimeSliceVirtualOrgMemberComRespDto;

//步骤1: D1-2查询个人资料详情(公共) - queryUserInfoDetailCom
        QueryUserInfoDetailComRespDto queryUserInfoDetailComRespDto = null;
        if (queryByTimeSliceVirtualOrgMemberComRespDto != null) {
            QueryUserInfoDetailComReqDto queryUserInfoDetailComReqDto = new QueryUserInfoDetailComReqDto();
            if (queryByTimeSliceVirtualOrgMemberComRespDto != null) {
                queryUserInfoDetailComReqDto.setUserId(queryByTimeSliceVirtualOrgMemberComRespDto.getUserId());//SimpleFieldAssign//sourceId:2044380_1
            }

            /*D1-2查询个人资料详情(公共)[408]   */
            Assert.isNull(queryUserInfoDetailComReqDto.getUserId(), "B3时间切片查询内容负责人（汇报人）-D1-2查询个人资料详情(公共)-账号不能为空", false);
            queryUserInfoDetailComRespDto = fwBaseUserClient.queryUserInfoDetailCom(queryUserInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryUserInfoDetailComRespDto_1 = queryUserInfoDetailComRespDto;
        }

        BffQueryByTimeSliceVirtualOrgMemberRespDto retData = new BffQueryByTimeSliceVirtualOrgMemberRespDto();
        if (queryByTimeSliceVirtualOrgMemberComRespDto_1 != null) {
            retData.setOriginalRoleMemberId(queryByTimeSliceVirtualOrgMemberComRespDto_1.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:2044385_1
            retData.setVirtualOrganizationPosition(queryByTimeSliceVirtualOrgMemberComRespDto_1.getVirtualOrganizationPosition());//SimpleFieldAssign//sourceId:2044387_1
        }
        if (queryUserInfoDetailComRespDto_1 != null) {
            retData.setUserId(queryUserInfoDetailComRespDto_1.getUserId());//SimpleFieldAssign//sourceId:2044386_1
            retData.setUserFace(queryUserInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:2044388_1
            retData.setIdCardName(queryUserInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:2044389_1
            retData.setNickName(queryUserInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:2044390_1
        }


        return retData;
    }
    //
}
